开发者

how to make Flex Authentication persistance?

开发者 https://www.devze.com 2023-01-29 01:36 出处:网络
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

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号