Redirect to home page on logon

"Tarek M. Nabil" <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Hi everyone,

I have an application where I store some stuff in the user's session. If the user leaves his session for some time and it times out, he's asked to login when he tries to get on with what's he was doing. After the user is finished with the re-login, he's faced with the error page simply because those things the application need are not in the session any more.

Unfortunately, those objects are specific to the last request the user made, so I cannot re-initialize in a listener for session creation.

I was wondering if there's a way to configure security so that after the user logs in he's redirected to a certain page instead of being able to continue his last request.

Any help is appreciated.

Thanks,
Tarek M. Nabil

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.