Hey,

You request and write the session variables to and from a PHP script via LoadVars.

There's no inbuilt/prescribed method for managing and interacting with sessions using Flash (as far as I know), so you just need to have some basic class/function templates to talk between Flash and PHP.

HTH,

James



james wrote:
Hi

I have searched everywhere for a general tutorial on how to handle PHP sessions with Flash.

I have built lots of web applications that use HTML/PHP using sessions, in that situation session_id is automatically sent with the POST data.

How is it done in flash. I have googled 'session_id actionscript as2' but can't find a general explanation of how sessions are handled in as2/flash.

In my application I just want to build a layer of actionscript objects which automatically handles sessions which I can reuse in other flash applications so I just need a general explanation.

can anyone provide a link, or just a few sentences that say something like 'when using sessions do getURL("checkout.php", "", "POST", "SESSION");'.... come on guys/girls!!! it must be quite easy otherwise there would be tutorials all over the web!!! What am I missing!!!

Please help!

James  _______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to