掲示板
Session timeout in liferay6.1
11年前 に sujay paul によって更新されました。
Session timeout in liferay6.1
Regular Member 投稿: 164 参加年月日: 11/10/28 最新の投稿
Hi
I want to show the session time after login.
I had add this 2 lines in portal-ext.properties
session.timeout=4
session.timeout.warning=4
but its not showing
Please help.
I want to show the session time after login.
I had add this 2 lines in portal-ext.properties
session.timeout=4
session.timeout.warning=4
but its not showing
Please help.
11年前 に Jignesh Vachhani によって更新されました。
RE: Session timeout in liferay6.1
Liferay Master 投稿: 803 参加年月日: 08/03/10 最新の投稿
You can modify session timeout option from web.xml of tomcat.
Change the time setting in below tag:
<session-config> <session-timeout>30</session-timeout> </session-config>
Change the time setting in below tag:
<session-config> <session-timeout>30</session-timeout> </session-config>
11年前 に sujay paul によって更新されました。
RE: Session timeout in liferay6.1
Regular Member 投稿: 164 参加年月日: 11/10/28 最新の投稿
thanks for reply
But how to show it to logged in user ?
But how to show it to logged in user ?
11年前 に Jignesh Vachhani によって更新されました。
RE: Session timeout in liferay6.1
Liferay Master 投稿: 803 参加年月日: 08/03/10 最新の投稿sujay paul:
thanks for reply
But how to show it to logged in user ?
Ohh sorry that was my misunderstanding.
Actually to showing only timeout duration, you can read property value from portal-ext.properties file.
session.timeout
try to get it using PropsUtil.get("session.timeout") ;
11年前 に sujay paul によって更新されました。
RE: Session timeout in liferay6.1
Regular Member 投稿: 164 参加年月日: 11/10/28 最新の投稿
Is it possible to show the time out duration in status bar?