This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Extend Session Timeout using JSF/jQuery/JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Extend Session Timeout using JSF/jQuery/JavaScript" Watch "Extend Session Timeout using JSF/jQuery/JavaScript" New topic

Extend Session Timeout using JSF/jQuery/JavaScript

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208

i need to give functionality to a user of my web application that if they click a button this extends the current http session context,

I set the timeout using:

Is there a way to extend the current HTTP session using JSF or jQuery or JavaScript or Java?


Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952

Not on the client side.

I think there's a J2EE API call on the server side that can do it, but I'd have to RTFM to be sure.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Extend Session Timeout using JSF/jQuery/JavaScript
Similar Threads
How to read "session-timeout" defined in web.xml
How can i integrate jQuery in Jsf ?
Submitting only selected textboxes in a JSP
session timeout using javascript
Where to invoke AJAX code to ask user if they want to extend session?