Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How do you connect different type of login sessions with each other?

Suppose I have a website that use PHP which has a login session, and in that website I have a flash game with actionscript 3.0. What is the usual approach developers take to let flash know that someone has logged in? Or in other words, how can flash read a php session?

user-image
Question added by Ghassan Barghouti , Technical Teal Lead , Bayt.com
Date Posted: 2012/10/31
Deleted user
by Deleted user

You'll need to have a PHP script grabbing all the information you want from the Session.
This script outputs the information as a variable sessionInfo for example.
This way Flash can load that variable from the PHP script using the LoadVars Class.

More Questions Like This