Foros de discusión

Error on Session Expiry

kishan sahu, modificado hace 11 años.

Error on Session Expiry

New Member Mensajes: 6 Fecha de incorporación: 17/09/12 Mensajes recientes
Hi Friends,

I am facing a problem, I had deployed my Portlet in the liferay portal, now when session expires it shows Forbidden error "You do not have permission to access the requested resource. http://localhost:8081/web/guest/home?p_auth=9SRfWRGL&p_p_id=reportingportlet_WAR_SASReportingportlet......".
I Just want to ask
1. How can I change the default error message shown ?
2. How can I redirect to some default jsp, and not showing the error ?
thumbnail
Juhi Kumari, modificado hace 11 años.

RE: Error on Session Expiry

Expert Mensajes: 347 Fecha de incorporación: 12/12/11 Mensajes recientes
Hi kishan,

You can redirect to the default jsp using this line in you portal-ext.properites file

session.timeout.redirect.on.expire=true


For further details check this url.

Regards
Juhi