Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting sessiontimeout in Liferay 6.1

Tags:

liferay-6

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.

like image 452
Md Shareef Avatar asked Jul 08 '13 10:07

Md Shareef


1 Answers

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

like image 170
Laxman Rana Avatar answered Oct 05 '22 19:10

Laxman Rana