This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi freinds, I am working on a web site. I was facing the problem that once the session is created, it stays active for a long length of time. I want to know how that session get expires : how to set the time of expiry of the session. Sincerely, Saurabh
You can use the get/setMaxInactiveInterval() method to achieve what you want to do. You can also invalidate a session by using the session's invalidate() method.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Joined: Jun 18, 2001
Thanks Bosun for your reply. Though I will try these things out, but could you tell me how to manipulate the header information. I know that there is something like "response.setHeader(.............)", but I ain't too sure how it works. Bye, Saurabh
Originally posted by Bosun Bello: You can use the get/setMaxInactiveInterval() method to achieve what you want to do. You can also invalidate a session by using the session's invalidate() method.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Setting up the time of the headers in JSP