RE: Can I use RequestProcessor to handle session?

2003-11-06 Thread Navjot Singh
yes and probably the right way to do >-Original Message- >From: Samanth Athrey [mailto:[EMAIL PROTECTED] >Sent: Thursday, November 06, 2003 10:35 AM >To: [EMAIL PROTECTED] >Subject: Can I use RequestProcessor to handle session? > > >Hello Gurus > >I am tryin

RE: Can I use RequestProcessor to handle session?

2003-11-05 Thread David Friedman
Sam, You can get a context relative path in your RequestProcessor processRoles function by doing something like this: // Retain the http or https used in this call using getScheme() String redirect = (String) request.getScheme() + "://" + request.getHeader("host")

Can I use RequestProcessor to handle session?

2003-11-05 Thread Samanth Athrey
Hello Gurus I am trying to handle session timeout by extending RequestProcessor. Since the processPreprocess(...) method is called before the Action.execute(..) method, am trying to add that piece of code to check if the session is valid. The problem am facing is, if i return false from this metho