# Is there a way to remove cookies from AS

**URL:** https://forum.kirupa.com/t/is-there-a-way-to-remove-cookies-from-as/32759
**Category:** Uncategorized
**Created:** [October 10, 2003, 7:21pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-remove-cookies-from-as/32759 "2003-10-10T19:21:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![thediablo](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@thediablo](https://forum.kirupa.com/u/thediablo)
#### Post date: [October 10, 2003, 7:21pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-remove-cookies-from-as/32759/1 "2003-10-10T19:21:16Z")

</div>

i got this php

```php

<?
setcookie("affuser", "", time()-84600);
setcookie("affpass", "", time()-84600);
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
header("Location: index.html");
?>

```

but i want to see if i can CALL that php from AS and make it do all that inside flash then  
refresh the page inside flash or via that php file…

i hope you undestand 😛

im calling that php file from a geturl in flash.

so i wanna see if i can make it to do it inside it
