cancel
Showing results for 
Search instead for 
Did you mean: 

Logoff button in FPM application

Former Member
0 Kudos

Hi,

I've created a FPM application, which is accessed directly through IE (as opposed to Portal). Because of this, the standard Close button is not appearing, so I have added my own logoff button. When pressed, this raises the event cl_fpm_event=>gc_event_close in the Configuration Controller component, which causes IE to prompt that the window is being closed and the standard logoff page to be displayed.

My problem is that the authentication data is still existing in IE if the window is not actually closed, so if the user then presses Back or goes to the URL again they can access the application without having to login again.

The SAP help [http://help.sap.com/saphelp_nw70/helpdata/en/fc/04a5421935c511e10000000a1550b0/content.htm] shows how to create your own logoff page, and also how to clear the authentication cache with

document.execCommand( 'ClearAuthenticationCache' );

.

I've tried to implement this for my FPM application in SICF, but it is being ignored. I can't even get a simple bit of HTML to be displayed instead of the standard logoff page. Can anyone help please?

- How to get your own logoff page working with a FPM application

- How to run the Javascript to clear the Authentication Cache (I'm assuming that once I can get my own page inserted it will be a case of executing the Javascript in the BODY ONLOAD event).

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

I am able to use the logoff page with slightly modified java script.

use the script like this

http://wiki.sdn.sap.com/wiki/display/BSP/ClosingaBrowserWindowviaaBSP

clearing the authentication, i havent tried but i have read in forums that they are not successful to implement that.

http://wiki.sdn.sap.com/wiki/display/ERPHCM/Sessionnotendingafterlogoff