Before I answer this, let me get some background. Are you using J2EE security? If so, FORM or BASIC authentication?
Carson ____________________________________________ Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of george_lui Sent: Friday, January 13, 2006 11:46 AM To: [email protected] Subject: [flexcoders] Re: How to handle sessions in Flex thanx for the prompt reply. I neglected to mention some other requirements. The nature of our app can have our users spends a good deal amount of time filling out the form. There's a save button there to save your work. However say the user is filling out the form and doesn't bother to save the form. There's a good chance that the session could expire before he gets a chance to save the form. Our server session is usually 30 minutes. In this scenario, when the session expires, we don't want the user to lose the data on the form. We want to somehow "catch" the session timeout and save the form. Another scenario we want to catch is, say you logout. The session is invalidated. However you could hit the browser "Back" button and have the previous screen display. You wouldn't know that the session time out until you invoke a service call. Instead I want to go to the login screen in such a scenerio. Can this be done? Please advise. thx, george --- In [email protected], "Carson Hager" <[EMAIL PROTECTED]> wrote: > > You'll need to expire the page with cache headers so that the browser > attempts to reload the page which will then take you to the login page. > > > Carson > > ____________________________________________ > > Carson Hager > Cynergy Systems, Inc. > http://www.cynergysystems.com > > Email: [EMAIL PROTECTED] > Office: 866-CYNERGY > Mobile: 1.703.489.6466 > > > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of george_lui > Sent: Thursday, January 12, 2006 5:37 PM > To: [email protected] > Subject: [flexcoders] How to handle sessions in Flex > > Hi, > > I click on Logout in my application. However if I hit the browser > "Back" button, I go back to the previous screen. I want to go to the > login screen however. You guru's know how I would be able to do this? > Can I catch the browser button events? > > George > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

