on 12-11-2009 7:21 AM
Hi Gurus,
I am creating a wda application .. The login is as usual the netweaver login.
I want to have a provision lke a logoff button..
Can someone advice on this..
Also I went through some threads in the forum and found this..
Thread:
Ok i solved it by redirecting to a bsp page and inside this i kill the authentication cookies on the client side, after delete i redirect to the original webdynpro application which brings me again to the login page......
function DelSso2Cookie(sName,sPath){
var sso2Domain = location.hostname;
if (location.hostname.indexOf(".")!=0) sso2Domain =location.hostname.substr(location.hostname.indexOf(".")+1);
p="";
if(sPath)p=" path="sPath";";
document.cookie = sName"=0; expires=Fri, 31 Dec 1999 23:59:59GMT;"p"domain="sso2Domain+";";
};
try{document.execCommand( 'ClearAuthenticationCache' );
} catch (e) {}
DelSso2Cookie("MYSAPSSO2","/");
Thanking You.
Best Regards,
Navin Fernandes.
hi
refer this blog :
How to close parent window in Webdynpro applications
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer SAP Online help for using Exit plug which will close the window :
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
When u click on Log Off button,should ur application window get closed?
If so,
(1)Maintain Outbound plug in ur view,OP_VIEW.
(2)Similarly maintain Outbound plug ,OP_WINDOW of type EXIT and Inbound plug,IP_WINDOW in
ur window.
(3)In the event handler of inbound plug,IP_WINDOW,fire the EXIT plug OP_WINDOW.
(4)Now fire the outbound plug OP_VIEW in the onAction of ur Log Off button.
(5)Maintain an importing parameter CLOSE_WINDOW of type boolean in ur EXIT plug(OP_WINDOW)
and while firing the exit plug in the handler event of inbound plug,pass the value for CLOSE_WINDOW
as 'X'.
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.