留言板

Configure session timeout for a specific portlet in a portal page

thumbnail
Subhasis Roy,修改在11 年前。

Configure session timeout for a specific portlet in a portal page

Expert 帖子: 275 加入日期: 12-1-20 最近的帖子
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,修改在11 年前。

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

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
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,修改在11 年前。

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

Expert 帖子: 275 加入日期: 12-1-20 最近的帖子
Thanks David.