on 08-25-2011 12:26 PM
Hello all,
I know that this is not the first time discussing this issue. But I still couldn't find a solution. I am becoming desperate.
I want to implement a logoff button. When pressed the user shall be logged off. So that afterwards pressing F5 shows the logon screen.
My logoff button fires an exit plug.
SAP proposes:
1.
document.execCommand( 'ClearAuthenticationCache' );
2.
function DelSso2Cookie(sName,sPath)
{
[...]
}
But both solutions couldn't help me.
I tried both solutions in various ways within SICF for the following services error-pages/logoff-page (I am using system language german. Maybe it is not called "logoff-page" in english. But I think you know what I mean. 😞
- /default_host/sap/public/bc/webdynpro
- /default_host/sap/bc/webdynpro
- /default_host/sap/bc/webdynpro/sap/<my-service>
@1.: I tried following codes within the body of the logoff-pages:
-
document.execCommand( 'ClearAuthenticationCache' );
-
>script language = "JavaScript">
document.execCommand( 'ClearAuthenticationCache' );
>/script>
@2.: I tried to put exactly the same code as in 2 and with various html-tags. Nothing worked.
But deleting the SSO2 cookie manually works fine. This would be a particular solution, because user still seems to be logged in when logging in again. But this would be ok for now.
I really don't know what to do. My understanding of SICF is not that good, so maybe I can't see an importing thing to solve this problem.
Maybe I've got to set some system parameters or URL-parameters.
Maybe the proposed solutions just work for special system configurations or I've got compability problems with my browsers. I am using Firefox 5, IE8 on WinXP. In best case, the solution should work on various browsers and systems.
I would appreciate it, if anybody would give me a detailed description how to realize this logoff-thing. (Exact synthax, where to put it. Parameters to be set etc.). Logging off on server-side would be best, just logging off client-side (deleting cookie or whatever) would be ok.
Tell me what I don't get.
Thanks for your efforts.
BR,
i.Durmaz
Hi.,
Check this help docu: http://help.sap.com/saphelp_nw70/helpdata/DE/fc/04a5421935c511e10000000a1550b0/content.htm
hope this helps u.,
Thanks & Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.