go ahead... be a heretic | |
PerlMonks |
Re: [OT] 302 redirect after login result cookie lost?by atemon (Chaplain) |
on Oct 12, 2007 at 02:49 UTC ( [id://644369]=note: print w/replies, xml ) | Need Help?? |
Hi, Sorry to say that you can not set cookie for redirection. The redirection header is I.e. server is instructing the user agent (browser) that the url now looking for is moved (302) to the new location asnd please look at the new location for the page. The referrer has nothing to do with new page. So if you want to set cookie for the new page, you need to set it in the new page itself, NOT in the referrer. You may send some parameters to the new page to set cookies for that page. --VC There are three sides to any argument..... your side, my side and the right side.
In Section
Seekers of Perl Wisdom
|
|