7/26/2010 7:17:39 AM
Title:
Session in flex
I have a php page in which i am maintaining a session. From that page i am loading a flex page.
Can i get the session variable from php inside flex.
Please help me. Thankyou.
7/26/2010 7:35:55 AM
session variables can be accessed on server side, but flash executes on the client so you need to get the session variable using php and pass them to flash. One way is to pass the variables to flash using the querystring method. Write your session variables in the html source where flash is embed and provide source with variables concatenated
myflash.swf?var1=value1&var2=value2
7/26/2010 7:56:51 AM
use http service to get back the session variables. Call a php page which returns you the session variables load variables into flash.