# Setting a cookie from within flash

**URL:** <https://forum.kirupa.com/t/setting-a-cookie-from-within-flash/169131>\
**Category:** Uncategorized\
**Created:** [November 13, 2005, 9:24pm UTC](https://forum.kirupa.com/t/setting-a-cookie-from-within-flash/169131 "2005-11-13T21:24:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beanSoldier](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@beanSoldier](https://forum.kirupa.com/u/beanSoldier)\
**Post date:** [November 13, 2005, 9:24pm UTC](https://forum.kirupa.com/t/setting-a-cookie-from-within-flash/169131/1 "2005-11-13T21:24:38Z")

</div>

hi - how do you guys set cookies from within flash? i don’t want to use a sharedObject; i want to set a browser cookie.

i’ve tried using javascript and php and neither work. is there some security setting i don’t have set?

what code have you used that works?

thanks
