Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: IE not setting or retireving cookies

by themage (Friar)
on Nov 13, 2006 at 12:52 UTC ( [id://583699]=note: print w/replies, xml ) Need Help??


in reply to IE not setting or retireving cookies

Experience told me that IE don't like Set-Cookie: and Location: in the same header.

The way I found to bypass this particular problem was making the redirect in javascript if the browser was IE.

You can do that with this html:
<html><body> <script>window.location='/thenewurl';</script> </body></html>
It's not the perfect solution I would like to use, but it works. It's too bad that some software that renders HTML shouldn't be called browser.

Replies are listed 'Best First'.
Re^2: IE not setting or retireving cookies
by greymoose (Beadle) on Nov 13, 2006 at 20:21 UTC
    I'm not sure what I did here but when I tried this I got an Error 500 from the server. Thanks for the thought though.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://583699]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-29 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found