掲示板

session

thumbnail
11年前 に sujay paul によって更新されました。

session

Regular Member 投稿: 164 参加年月日: 11/10/28 最新の投稿
Hi,
I have a serious problem.
After login the user want to see how long his session will live ie the time out duration of the user.
First i think i will show it in status bar but in mozila it will not work then i think to create a portlet.
please help.
Thanks in advance.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: session

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Well, you're able to get the max session timeout from the properties. How about counting down from that.
thumbnail
11年前 に Sushil Kumar Saini によって更新されました。

RE: session

Regular Member 投稿: 104 参加年月日: 11/07/27 最新の投稿
Hi Sujay,

Instead of creating the separate portlet you can show session time out duration by customizing the \html\common\themes\session_timeout.jspf file in liferay. You can override this file using the hook.

You can customize this so that it won't show the extend session button. And you can set the value of the following property equal to session time out value so that, warning message will appear immediately after login into the application.


session.timeout.warning= 30 (set this value equal to session time out value)


Thanks and Regards,
Sushil Saini