Foren

Error on Session Expiry

kishan sahu, geändert vor 11 Jahren.

Error on Session Expiry

New Member Beiträge: 6 Beitrittsdatum: 17.09.12 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Error on Session Expiry

Expert Beiträge: 347 Beitrittsdatum: 12.12.11 Neueste Beiträge
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