フォーラム

ホーム » Liferay Portal » English » x. Miscellaneous

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Sujay Kumar Paul
session
2012/11/09 1:07
答え

Sujay Kumar Paul

ランク: Regular Member

投稿: 165

参加年月日: 2011/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.
Hitoshi Ozawa
RE: session
2012/11/17 4:33
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7990

参加年月日: 2010/03/23

最近の投稿

Well, you're able to get the max session timeout from the properties. How about counting down from that.
Sushil Saini
RE: session
2012/11/17 5:28
答え

Sushil Saini

ランク: Regular Member

投稿: 102

参加年月日: 2011/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.

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


Thanks and Regards,
Sushil Saini