# Can flash use session variables?

**URL:** <https://forum.kirupa.com/t/can-flash-use-session-variables/38719>\
**Category:** Uncategorized\
**Created:** [December 28, 2003, 10:32pm UTC](https://forum.kirupa.com/t/can-flash-use-session-variables/38719 "2003-12-28T22:32:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![artane](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@artane](https://forum.kirupa.com/u/artane)\
**Post date:** [December 28, 2003, 10:32pm UTC](https://forum.kirupa.com/t/can-flash-use-session-variables/38719/1 "2003-12-28T22:32:11Z")

</div>

hey guys,

I’ve created an html/asp web page with a standard form that asks the user to enter their “username”. When the user does this and clicks submit, he is taken to another html page that contains a flash movie. I want this flash movie to display the “username” entered on the previous page.

I figure, I can make the username a session variable and then have the flash movie reference it. Is this possible? What would the actionscript look like?

Thank-you very much!

artane

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 28, 2003, 10:49pm UTC](https://forum.kirupa.com/t/can-flash-use-session-variables/38719/2 "2003-12-28T22:49:32Z")

</div>

You could pass that variable in the query string, and then to the swf with FlashVars: [http://www.macromedia.com/support/flash/ts/documents/flashvars.htm](http://www.macromedia.com/support/flash/ts/documents/flashvars.htm)

pom 🙂
