cancel
Showing results for 
Search instead for 
Did you mean: 

BSP MVC - Logout

former_member216168
Active Participant
0 Kudos

Hi guys,

I'm trying to implement logout functionality in my BSP (MVC, HTML5) but it doesn't work in some browsers such as Firefox and Chrome.

I found a lot of posts in SCN, and the first one I tried was this JavaScript function that doesn't work:

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

http://scn.sap.com/thread/1477391

I tried this other solution CL_HTTP_SERVER=>RESPONSE->LOGOFF( ), but the interface IF_HTTP_RESPONSE doesn't have LOGOFF method and I found any SAP note to include this method...

http://scn.sap.com/thread/1684369

There is a interesting link from SAP about standard BSP "SYSTEM". In this BSP it just work in Internet Explorer:

http://help.sap.com/saphelp_470/helpdata/en/6b/9d91d062cc52419f23926ff1bf2ad3/content.htm

Does anyone have any suggestion?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

What about CL_HTTP_SERVER_NET->LOGOFF( ), do you have this method?

former_member216168
Active Participant
0 Kudos

Hi,

I've checked and there isn't any logoff method in CL_HTTP_SERVER_NET too

Probably there is a SAP note to include it...

Thanks!

guillaume-hrc
Active Contributor
0 Kudos

Hi,

Have you checked the systemexit page in IT00 BSP application?

What about the ITSM application also?

Finally, check Thomas Jung's blog:

Best regards,

Guillaume

former_member216168
Active Participant
0 Kudos

Hello, , thanks

I have tried it before but it doesn't work in other browser besides Internet Explorer

Strange, isn't it?