cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Keep session alive

Former Member
0 Likes
1,524

Hi,

it is typical that my users call the web application in the portal and then they do something else and forget the portal for, let´s say 1 hour. When they finally remember, session is for server dead, although they still see the application (session is for them still alive). In some cases the classical error page from SAP for session timeout shows up; in some other cases, the page does not show up and the application saves the information but data is now a big mess. They have reported the strangest cases for which I have no logical explanation.

I checked parameter RDISP/PLUGIN_AUTO_LOGOUT and it has 30 minutes but I don´t want to move this value. I could work with javescript code for triggering an event every 28 minutes but I wonder if this is reasonable:

I could also issue a message when the time limit has expired, so that they know that session is dead.

Has somebody done something about this ?? can I have another idea ??

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hello,

have you tried a webservice?

You can implement an js funciton in your page which will refresh your page ervery 28 minutes, so a roundtrip is triggerd an the session goes on. This is a possibility to keep the session alive

Another possibility is an other js counter which will count fe. 28 minutes and then automatic call a new url which will logout the user. Check sessionexit.htm in the bsp application system.

Regards

Answers (2)

Answers (2)

Former Member
0 Likes

Hi,

there´s nothing perfect that could help. I created a stop watch in Javascript which triggers an event every 28 Min. for calling a page which displays a message that session has been timed out.

athavanraja
Active Contributor
0 Likes

Have you seen this blog by Thomas Jung

[Stateful BSP and Timeouts|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1063] [original link is broken] [original link is broken] [original link is broken];