# Help with cookies

**URL:** <https://forum.kirupa.com/t/help-with-cookies/996>\
**Category:** programming\
**Created:** [August 5, 2002, 11:38pm UTC](https://forum.kirupa.com/t/help-with-cookies/996 "2002-08-05T23:38:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnTravoltar](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@JohnTravoltar](https://forum.kirupa.com/u/JohnTravoltar)\
**Post date:** [August 5, 2002, 11:38pm UTC](https://forum.kirupa.com/t/help-with-cookies/996/1 "2002-08-05T23:38:30Z")

</div>

Hi, when should i call the setCookie() function for it to be functionnal?

All i want is to put a cookie on the hard drive, but i don’t know when and where to call the function.

Thx.

---

<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:** [August 6, 2002, 4:20am UTC](https://forum.kirupa.com/t/help-with-cookies/996/2 "2002-08-06T04:20:32Z")

</div>

Kirupa has a tutorial on Cookies for Flash MX… check it out here…

[http://www.kirupa.com/developer/mx/sharedobjects.asp](http://www.kirupa.com/developer/mx/sharedobjects.asp)
