The session timeout can be handled using few properties in the portal-ext.properties file. .
# Extending session automatically
session.timeout.auto.extend=false
#This property can be used to redirect to home page when the session expires.
session.timeout.redirect.on.expire=true
#Set the login url
auth.login.url=/web/guest/home
note :
for session.timeout.warning=30,
#it is redirects to http://localhost:8080/web/guest/home
for session.timeout.warning=0,
#it is redirects to
#http://localhost:8080/web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2flogin%2flogin&_58_redirect=%2fweb%2f10311%2fwelcome
# Extending session automatically
session.timeout.auto.extend=false
#This property can be used to redirect to home page when the session expires.
session.timeout.redirect.on.expire=true
#Set the login url
auth.login.url=/web/guest/home
note :
for session.timeout.warning=30,
#it is redirects to http://localhost:8080/web/guest/home
for session.timeout.warning=0,
#it is redirects to
#http://localhost:8080/web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2flogin%2flogin&_58_redirect=%2fweb%2f10311%2fwelcome