Sorry, just found this in the page directive <%@ page session=false %>
I assume it will solve my problems. Thanks, Andoni. ----- Original Message ----- From: "Andoni" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 17, 2003 3:23 PM Subject: Can I find out if there is an active session from my JSP? Hello, I have recently moved my web-app to Form-based container managed logins. I like very much the side effect that this has which is that if you go off to another site and come back you are not given the login screen again. What worries me is people who will bookmark the login screen, I would like to be able to check if they have an existing session and if so then forward them to the next .jsp (the main menu). Unfortunately the login screen is a .jsp so it automatically creates a new session if there is not already one in existence. Is there any way to stop it doing this? My thanks in advance as ever, Andoni. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
