RE: Best practice for redirecting on session timeout?[Scanned]

2005-05-13 Thread Adam Lipscombe
Folks Many thanks for all your input on this. I decided to go with the filter approach. My doFilter() method is below. I certainly traps the timeout. The problem now is that the redirect fails no matter if I use /pages/SessionTimedOut.jsp or a fully qualified URL (e.g

RE: Best practice for redirecting on session timeout?[Scanned]

2005-05-13 Thread Lucas Bern
Hi, I need help too... How should I write the if that desires if the session is expired???/ thanks Lucas Adam Lipscombe [EMAIL PROTECTED] escribió: Folks Many thanks for all your input on this. I decided to go with the filter approach. My doFilter() method is below. I certainly traps the

Re: Best practice for redirecting on session timeout?[Scanned]

2005-05-13 Thread Rick Reumann
Getting ready to leave so don't have time to look at your code but my doFilter looks like... //doFilter ... String path = request.getRequestURL().toString(); String contextPath = request.getContextPath(); if (pathNeedsCheck(path)) { HttpSession session = request.getSession(false); if

Re: Best practice for redirecting on session timeout?[Scanned]

2005-05-12 Thread David Johnson
So, how what would you all say about my method? does this seem to be a valid method for controlling this? On 5/12/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: Good point Aladin... However, I would take this a step further... in pre-1.3 Struts, you might not want to implement your own

Re: Best practice for redirecting on session timeout?[Scanned]

2005-05-12 Thread Frank W. Zammetti
Sorry, I lost track of the thread (stupid webmail interface!)... can you outline your method again? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, May 12, 2005 1:39 pm, David Johnson said: So, how what would you all say about my