cancel
Showing results for 
Search instead for 
Did you mean: 

Logout WD4A application

Former Member
0 Kudos

Hello everyone,

After searching the forum, i've been able to exit my web dynpro application and close the browser window (using outbound plug of type 1 from window).

My problem is that if i open a new browser window and call my app url again, the system doesn't require new login, which is exactly what i wanted.

I saw somewhere someone explaining to navigate to a BSP page that would ultimately delete the session cookies. Can anyone explain how to do this procedure?

To close the app and browser i used this link:

/people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications

Thank you in advance for any help,

Nuno

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nuno,

Which browser you are using? IE or Firefox..

Please check this...

http://help.sap.com/saphelp_nw04s/helpdata/en/fc/04a5421935c511e10000000a1550b0/frameset.htm

alsocheck this thread..

Cheers,

Kris.

Former Member
0 Kudos

Hello kissnass,

Thank you for your input. I already checked all the links you listed, but i'm having difficulties erasing the MYSAPSSO2 cookie.

Even more, i can't even seem to locate that cookie on my local pc. I searched in both folders

C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Cookies\

C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Cookies\Low\

but i'm not able to see it. Is there any other place i have to search?

I'm using IE9 in windows 7 professional.

the solution i like the most is adding a logoff page in the service of the app, via transaction SICF. Can anyone show me your code to successfully close the browser window AND logoff the user?

Thank you again.

Nuno

Former Member
0 Kudos

Hi Nuno,

document.execCommand( 'ClearAuthenticationCache',"false" ).

Check this...

Also check this wiki

http://wiki.sdn.sap.com/wiki/display/BSP/Cookie+Problems

Cheers,

Kris.

Answers (0)