Re: Session Timeout and Realm Authentication and Posted Error Message

2008-10-09 Thread Fu-Tung Cheng
TECTED]> > Subject: Re: Session Timeout and Realm Authentication and Posted Error Message > To: "Tomcat Users List" > Date: Thursday, October 9, 2008, 9:29 PM > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fu-Tung, > > Fu-Tung Cheng wrote: > &g

Re: Session Timeout and Realm Authentication and Posted Error Message

2008-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fu-Tung, Fu-Tung Cheng wrote: > The way the realm typically works is that you request a url say > /hello.jsp, the app detects you need authenticate so it saves the > original request and forwards you over to the login.jsp. You fill in > the fields, t

Session Timeout and Realm Authentication and Posted Error Message

2008-10-09 Thread Fu-Tung Cheng
Hi, My application has an ajax layer which asynchronously polls my tomcat server. When the session for the user is destroyed, the next request causes a forward to the login jsp defined for the form realm. On the login jsp I would like to output an error message like "Your session has been tim