# Receive login cookie?

**URL:** https://forum.kirupa.com/t/receive-login-cookie/257543
**Category:** Uncategorized
**Created:** [April 15, 2008, 6:36am UTC](https://forum.kirupa.com/t/receive-login-cookie/257543 "2008-04-15T06:36:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![salamflash](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@salamflash](https://forum.kirupa.com/u/salamflash)
#### Post date: [April 15, 2008, 6:36am UTC](https://forum.kirupa.com/t/receive-login-cookie/257543/1 "2008-04-15T06:36:29Z")

</div>

Hi,

I’m trying to make login script with Flash:

1. Send UserID and Password with POST to login page:  
mylogin.sendAndLoad(“[http://site/login.asp](http://site/login.asp)”, result\_lv, “POST”);
2. Login.asp sets a cookie and redirects, but how to get that cookie in Flash?

Or how to manually set cookie with Flash?  
(So that I could test autologin page that checks for valid cookie and then redirects)
