Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: problem using the set-cookie and the Location headers together

by toolz (Initiate)
on Nov 30, 2012 at 19:21 UTC ( [id://1006510]=note: print w/replies, xml ) Need Help??


in reply to problem using the set-cookie and the Location headers together

I recently discovered this trick to accomplish what you want:
print "Set-Cookie: foo=blah; path=/\n"; print "Refresh: 0; URL = /cgi-bin/enquiry.pl\n"; print "Content-type: text/html\n\n";
  • Comment on Re: problem using the set-cookie and the Location headers together
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2024-04-16 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found