Foren
Session timeout in liferay6.1
sujay paul, geändert vor 11 Jahren.
Session timeout in liferay6.1
Regular Member Beiträge: 164 Beitrittsdatum: 28.10.11 Neueste Beiträge
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.
Jignesh Vachhani, geändert vor 11 Jahren.
RE: Session timeout in liferay6.1
Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträge
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>
sujay paul, geändert vor 11 Jahren.
RE: Session timeout in liferay6.1
Regular Member Beiträge: 164 Beitrittsdatum: 28.10.11 Neueste Beiträge
thanks for reply
But how to show it to logged in user ?
But how to show it to logged in user ?
Jignesh Vachhani, geändert vor 11 Jahren.
RE: Session timeout in liferay6.1
Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträgesujay 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") ;
sujay paul, geändert vor 11 Jahren.
RE: Session timeout in liferay6.1
Regular Member Beiträge: 164 Beitrittsdatum: 28.10.11 Neueste Beiträge
Is it possible to show the time out duration in status bar?