开发者

how to make Flex Authentication persistance?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜