cancel
Showing results for 
Search instead for 
Did you mean: 

This can be done in BSP, what about WD4A?

Former Member
0 Kudos

To delete Session cookies on BSP application close by X button of IE

1)Copy the pages session_default_frame.htm and session_single_frame.htm from standard BSP application SYSTEM into your BSP application .

2)Replace the

DATA: target_page TYPE STRING VALUE 'session_test.htm'.

line in session_single_frame.htm by

DATA: target_page TYPE STRING VALUE 'first page of your application'.

3)Rename the page session_single_frame.htm as default.htm .

4)Use default.htm as the initial BSP of your application.

How can this be done in WD4A?

Accepted Solutions (1)

Accepted Solutions (1)

SergioFerrari
Active Contributor
0 Kudos

The technique your are speaking about is a bit obsolete.

I would code in a logoff page the deletion of the cookie.

Have a look here http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/69eb40e8a607d6e10000000a42189c/frameset.htm and try coding a bit of javascript in the specific logoff page your are going to define.

Sergio

Former Member
0 Kudos

That is helpful, but I tried using the logoff page to put the

document.execCommand( 'ClearAuthenticationCache' ); and it did not work..probably because when you close the browser with the X, an exit plug is not fired.

I'm looking for the same functionality in BSP when you close the browser with the X.

Thanks.

Answers (0)