开发者

PHP form to log-in to Flash App

Is it possible to log in to a Flash app with a PHP log-in form? I was thinking it could work something like this:

  1. PHP form creates a new session
  2. connect to the user database, validate.
  3. store the log-in infor开发者_JAVA技巧mation in session variables
  4. load the swf


I think if you store your sessions in the database in an open format like JSON or XML then you can have your SWF app lod that data from the database. The SWF app should also be able to get the cookies from the broswer so you can find the cookie that stores the session name check the database, or file system if you keep it in there and then work magic from there.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜