PDA

View Full Version : How to maintain session b/w mxml files


gokulanand
07-31-2006, 02:33 PM
Hi ,

I am a newbie for flex developement.and i am using flex 1.5 version.

i have created two files called signin.mxml and signout.mxml

in signin.mxml i will collect the client details as session values, and in signout.mxml i should check the session values here.

How i should pass the values to this

pls Guide me

thanku

astgtciv
07-31-2006, 04:59 PM
I think you have the wrong forum, this is the Flex 2 forum. The Flex 1 forum is at http://actionscript.org/forums/forumdisplay.php3?f=76 .

I would gladly help, but I don't know the answer to your question...

flexy
08-02-2006, 07:53 PM
I'm quite certain that you'd need to be running enterprise services to create a session directly in Flex. You could try setting the session in your webpage, then passing this into your Flex app using JavaScript. Flex is a lot better at doing this than Flash. To end the session, you can then do the reverse (call a JavaScript function from inside your Flex app).

If I'm honest, this looks like a Flex/AJAX bridging solution.

This might help http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001002.html