Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Session Variable in Flash?
From: Mark Zukiwsky
Date: Thu, 2 Mar 2000 22:07:00 GMT

Hi again Sarah,

By session variables do you mean ColdFusion session variables? If
yes, then you can get them into Flash using the technique outlined in
my previous post. I know this works 'cause I just tested it.

In your CF template simple use something like:

<cflock name="#session.SessionID#" timeout="30" Type = "ReadOnly">
<cfloop collection=#session# item="sessionItem">
<cfoutput>
&#sessionItem#=#URLEncodedFormat(session[sessionItem])##chr(13)#
</cfoutput>
</cfloop>
</cflock>

It will return:

&SESSIONID=COUSINCURLY%5F1751%5F13732448
&URLTOKEN=CFID%3D1751%26CFTOKEN%3D13732448
&LOGGEDIN=Yes
&CFTOKEN=13732448
&CFID=1751

Which should translate in Flash to:

MZTEST_1751_13732448
CFID=1751&CFTOKEN=13732448
Yes
13732448
1751

If that's what you're looking for you'll know what to do with those results.

Hope this helps.

Mark Zukiwsky
Edmonton, Canada

>hey flashers,
>Can you create a session variable in Flash?


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]