Question

Hi I am using php on server side, once I authenticate flex channel set and then reload the application by refreshing the page , I again need to authenticate channel set by login in and calling cs.login(username,password);

I want flex application to check when it loads weather user is already authenticated or not .

Thanks in advance.

Was it helpful?

Solution

You can use shared objects, the Flash version of a cookie. Also, if you're using server side sessions, reloading the page should not reset the browser cookie which ties your front end to the back end session. So, you could always ping the server to see if the user authenticated there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top