Hey Everyone,

I am trying to use a custom session timeout JSP. To do this, I extended
"RequestProcessor" and overrode "processPreprocess" and added the following
code:

        HttpSession     sess = req.getSession(false);
        
        if(sess == null){
                // even when the session IS timed out, I never get here.
             String uri = "/myapp/sessiontimeout.jsp";
             try{
                doForward(uri, req, resp);
            }catch(Exception ex){}
            
            return false;
        }

The problem is, even when I know the session was expired, I never get a null
session. Am I missing something?

Thanks 
John



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to