File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes session timeout while user is active Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "session timeout while user is active" Watch "session timeout while user is active" New topic
Author

session timeout while user is active

Mamata Chaudhari
Greenhorn

Joined: Apr 26, 2009
Posts: 23
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

Joined: Apr 26, 2009
Posts: 23
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...
 
Consider Paul's rocket mass heater.
 
subject: session timeout while user is active