to my web.xml file which I think should timeout the session after 1 minute, but nothing is happening i.e. I load a page and wait a minute and it does not get redirected after 1 minute. Could anybody please tell me what I'm missing. Thanks.
posted 10 years ago
Sorry, I guessed I forgot to add that I want the user to get redirected to my welcome page when the session is timed out. Thanks
Unfortunately it doesn't... Perhaps you was confused from API documentation saying
The server can maintain a session in many ways such as using cookies or rewriting URLs.
But this only means the servlet container is able to maintain a session via cookies or by encoding the session ID into the URL if the client/browser doesn't allow cookies.