Re: Setting cookie and location in the same header
"xuefer tinys" <[email protected]> Fri, 04 Oct 2002 18:22:31 +0000
| Newsgroups | gmane.comp.web.general |
|---|---|
| Message-ID | <[email protected]> |
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=20 > > >Actually, found out that this is a defect in IIS and the way to get arou= nd >it was to rename the file prepending it with "nph-" which tells IIS to n= ot >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 =3D> "302 (Found) Moved Temporarily"= , > -cookie =3D> $cookie, > -location =3D> $location, > -type =3D> "text/html", > -nph =3D> 1); > >Thank you, >Swapna. _________________________________________________________________ =C3=E2=B7=D1=CF=C2=D4=D8 MSN Explorer: http://explorer.msn.com/lccn/