JSP General - Setting Session Timeout Period
Interview Question Database For Software Developers
|
|
| Setting Session Timeout Period | | Is there a way I can set the inactivity lease period on a per-session basis? | | By: FYICENTER.com | Typically, a default inactivity lease period for all sessions is set within your JSPengine admin screen
or associated properties file. However, if your JSP engine supports the Servlet 2.1 API, you can manage
the inactivity lease period on a per-session basis.
This is done by invoking the HttpSession.setMaxInactiveInterval() method, right after the session has been created.
| | ID: 208 | Rank: 1167 | Votes: 0 | Views: 101 | Submitted: 20070403 |
Copyright © 2009 FYIcenter.com
All rights in the contents of this Website are reserved by the individual author.
No part of the contents may be reproduced in any form without author's permission.
|
|
|