as i know, even same domain
cannot set cookie when doing redirect

test with php+apche+ie

>From: Swapna Samant <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>CC: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Re: Setting cookie and location in the same header
>Date: Tue, 1 Oct 2002 10:45:30 -0700 
>
>
>Actually, found out that this is a defect in IIS and the way to get around
>it was to rename the file prepending it with "nph-" which tells IIS to not
>parse the headers and just use the headers that are sent as is.
>Then I could send both the cookie and location headers at the same time.
>
>         print $cgi->header(-status => "302 (Found) Moved Temporarily",
>                            -cookie => $cookie,
>                            -location => $location,
>                            -type => "text/html",
>                            -nph => 1);
>
>Thank you,
>Swapna.




_________________________________________________________________
������� MSN Explorer: http://explorer.msn.com/lccn/

Reply via email to