I have to make a request via Remote service to poll:
if ( FlexContext.getHttpRequest().getSession().isNew() ||
FlexContext.getHttpRequest().getSession().getAttribute("user")==null ){
res = Const.EXPIRED;
}
Tracy Spratt <[EMAIL PROTECTED]> escribió:
You could poll the server at intervals. When the session is
gone, restart/reste the app, either programatically, or by calling
NavigateToURL with target _self.
Tracy
---------------------------------
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Manu
Dhanda
Sent: Tuesday, September 18, 2007 10:44 PM
To: [email protected]
Subject: [flexcoders] Redirect to login page
Hii
Can someone tell me how do i unload flex and load/redirect to login page,
once the session is over.
Currently, when the session is over. Obviously I cannot access any data from
the server side. But my flex GUI will still remain there and it doesn't
unload from the screen.
Can anyone guide me in the right direction.
Thanks.
--
View this message in context:
http://www.nabble.com/Redirect-to-login-page-tf4478453.html#a12769927
Sent from the FlexCoders mailing list archive at Nabble.com.
---------------------------------
¡Sé un mejor asador!
Aprende todo sobre asados en:
http://mx.yahoo.com/promos/mejorasador.html