Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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 ajoutée par Ghassan Barghouti , Sr. Backend Software Engineer , Majid Al Futtaim
Date de publication: 2012/10/31

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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?