[flexcoders] logout user after cookie expires (state change)
Hi all, I'm using PHP + Flex, and I'm pretty new to using sessions and session data. I've figured out how to create a cookie, make it expire, etc... I need to check the session ID with every HTTPService request, and if it's not valid, log the user out (make a state change in Flex). Also, if the cookie expires, I need the user to be logged out. Does anyone know how I can check this and trigger a state change (to logged out state)? Thanks
RE: [flexcoders] logout user after cookie expires (state change)
using onreadystatechange From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of TCash21 Sent: Monday, March 19, 2007 11:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] logout user after cookie expires (state change) Hi all, I'm using PHP + Flex, and I'm pretty new to using sessions and session data. I've figured out how to create a cookie, make it expire, etc... I need to check the session ID with every HTTPService request, and if it's not valid, log the user out (make a state change in Flex). Also, if the cookie expires, I need the user to be logged out. Does anyone know how I can check this and trigger a state change (to logged out state)? Thanks
RE: [flexcoders] logout user after cookie expires (state change)
Tanya, You can all of this using AJAX with flex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of TCash21 Sent: Monday, March 19, 2007 11:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] logout user after cookie expires (state change) Hi all, I'm using PHP + Flex, and I'm pretty new to using sessions and session data. I've figured out how to create a cookie, make it expire, etc... I need to check the session ID with every HTTPService request, and if it's not valid, log the user out (make a state change in Flex). Also, if the cookie expires, I need the user to be logged out. Does anyone know how I can check this and trigger a state change (to logged out state)? Thanks