Page 1 of 1

Help with cookies

Posted: Mon Aug 24, 2009 6:24 pm
by Joethepoe
Ok I need to set a cookie then use it straight after, which I know is not possible. Is there anyway this can be done?

Re: Help with cookies

Posted: Mon Aug 24, 2009 6:46 pm
by jackpf
You mean without reloading the page? If so, why not just use the value you assigned to the cookie?

Cookies aren't sent back until the next page request...since obviously they haven't been set yet.