File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Joined: Apr 13, 2006
May 23, 2006 00:16:00
How to set default time out using session
Joined: Mar 02, 2006
May 23, 2006 00:58:00
Do you mean the session timeout due to inactivity? If so, check the
configuration options of the server you are using. The session timeout
is set there.
Joined: Nov 24, 2005
May 23, 2006 01:07:00
1. The declarative way, in web.xml, using the <session-timeout>, inside <session-config>
Specification for more)
2. The programmatic way, calling HttpSession.setMaxInactiveInterval(int)
(see the API for more)
All roads lead to JavaRanch
I agree. Here's the link:
subject: Session Problem
Advice on persisting complex state across multiple server trips
Field set in action method coming null in JSP
Session problem in NetBeans
Alternative to Cookie?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014