You should consider expiring the page that launches the Flex
application.  When the user clicks back, the browser will be prompted to
reload the page which will cause the redirect to your login page.  There
is tons of info on the web for setting caching properties in whatever
page technology you use. Remember to use the HTTP header varieties, not
just the meta tags as meta tags are ignored by proxy servers.


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, December 02, 2005 12:19 PM
To: [email protected]
Subject: [flexcoders] how do you guys handle browser "back" button
cases?

Say I logout in my Flex RIA.  I then hit the browser "back" button.  I
got back to the last page.  If I make another remoteObject invocation at
this point, my code catches the invalidated session and it is dealt with
accordingly.

But I wanna catch the session invalidation status when I hit the
"back" button.  Is there a way to do this?   Does hitting the browser
"back" button fire off a Flex event I can catch?  I would like to
redirect to the login page when someone hits the "back" (or "forward")
buttons when the session has already been invalidated.

thank you,
George






------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet
Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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/
 


Reply via email to