cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle Portal User Session timeout Error Msg

Former Member
0 Kudos

Hi Experts,

I am implementing external facing portal. In this portal i want maintain Portal user session time, for this i am setting the session timeout in web.xml file. It is working fine.


- <session-config>
  <session-timeout>30</session-timeout> 
  </session-config>

My requirement is after session timeout before logoff it should display pop-up message your session timeout please login again. Where we need to do this setting or code change to display this popup message.

I read this below Wiki , but this they are using EPCM. But i am implement External facing portal we shouldn't use this concept to implement.

[http://wiki.sdn.sap.com/wiki/display/EP/EPSnippet-Portaluseridletimeoutforlogoff-custom+javascript]

Please suggest any other way to implement my requirement.

Regards,

Satya.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Satya, You need to implement a session listner class.

This class is automatically called once your session expires.

There in that class you can call a jsp which runs a popup javascript on "onload" event in body tag.

and then redirect it to login page.