Foren

Configure session timeout for a specific portlet in a portal page

thumbnail
Subhasis Roy, geändert vor 11 Jahren.

Configure session timeout for a specific portlet in a portal page

Expert Beiträge: 275 Beitrittsdatum: 20.01.12 Neueste Beiträge
Is it possible to configure session timeout for a particular portlet in a portal page.

For example, if I have 6 portlets on a page, can I configure one to timeout after 10minutes of inactivity and the other 5 stay active? (Considering that at the portal level I already set the timeout to 30 minutes...and at one portlet only I want to set the session timeout to 10 minutes).
thumbnail
David H Nebinger, geändert vor 11 Jahren.

RE: Configure session timeout for a specific portlet in a portal page

Liferay Legend Beiträge: 14916 Beitrittsdatum: 02.09.06 Neueste Beiträge
No.

Overall timeout for Liferay is controlled by the ROOT web app, not by individual portlets.

And how would you determine when the 5 mins are up? Inactivity? If you're using other portlets on the same page, of course one might think it's been inactive for 5 minutes, but that doesn't mean the user hasn't been using the others.

Think about it... You log into the portal, so you're looking at a page w/ multiple portlets on it. One of them wants to time out your session after 5 minutes, even though others on the page have been used. So now the portal throws the user back to the login page and you're left wondering "WTF?".
thumbnail
Subhasis Roy, geändert vor 11 Jahren.

RE: Configure session timeout for a specific portlet in a portal page

Expert Beiträge: 275 Beitrittsdatum: 20.01.12 Neueste Beiträge
Thanks David.