# Variable cookies

**URL:** <https://forum.kirupa.com/t/variable-cookies/64310>\
**Category:** flash\
**Created:** [September 15, 2004, 2:42am UTC](https://forum.kirupa.com/t/variable-cookies/64310 "2004-09-15T02:42:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![argonot](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@argonot](https://forum.kirupa.com/u/argonot)\
**Post date:** [September 15, 2004, 2:42am UTC](https://forum.kirupa.com/t/variable-cookies/64310/1 "2004-09-15T02:42:56Z")

</div>

I need to create cookies for my flash project so that it will remember where the user was from the last time the swf file was opened. A programmer friend recommended that I use variables instead of shared objects. Are there any good demos or tutorials on this? Much appreciated.

---

<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:** [September 15, 2004, 5:48am UTC](https://forum.kirupa.com/t/variable-cookies/64310/2 "2004-09-15T05:48:40Z")

</div>

I have something like this on something I am workin on. What mine does is remembers what background the user set last time the .swf was open. I used shared objects and it seems to work a treat.
