ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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
تم إضافة السؤال من قبل Ghassan Barghouti , Sr. Backend Software Engineer , Majid Al Futtaim
تاريخ النشر: 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.

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟