Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session timeout while user is active

 
Mamata Chaudhari
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I am working on a portal which is developed using liferay
In portal-ext.properties


session.timeout=5
session.timeout.warning=1


If I am active on portal still it gives me warning to extend session or it willl expires.

I have checked session_timeout.jsp and session.js.

Can anyone please tell me where is the problem?

How to get user is active or not?

Thanks,
 
Mamata Chaudhari
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I got solution now...

I have replaced session.js with my own customised js file.
In that file I have observed mousemove and keypress events and checks for idle interval..
And it works fine...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic