Originally posted by dallr: What do i need to place on my jsp to check to see if the session if inactive and if so redirect the user to the login page.
Nothing. It's not the JSP's job to handle this.
Rather, use a servlet filter to check if the session credentials exist and forward to the login page or not. This centralizes the processing in one place, and keeps your JSPs clean and free of needless goop.
Joined: Nov 03, 2006
Thanks for the quick feedback, that makes more sense.
But how would i check to see if the session is active?