Setting sessiontimeout in Liferay 6.1

Md Shareef picture Md Shareef · Jul 8, 2013 · Viewed 8.7k times · Source

I want to reduce the session timeout from 30 minutes to 5 minutes. I went through the guidelines of Liferay communtiy like setting following properties in to portal-ext.properties file.

session.timeout=5

session.timeout.warning=0

session.timeout.auto.extend=true

But this is not working. Can any body help me please.

Answer

Laxman Rana picture Laxman Rana · Jul 10, 2013

Session Time out can be set in portal-ext.properties and web.xml

i.e

portal-ext.properties

session.timeout=5
session.timeout.warning=0
session.timeout.auto.extend=false

web.xml

<session-config>
<session-timeout>5</session-timeout>
</session-config>

HTH