header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
John
Points:0
Posts:0

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.



1
MaxFlash
Points: 600
Posts:0
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

2
Rex
Points: 1280
Posts:0
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.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 4+3 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions