Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how do I set a cookie and redirect

by epoptai (Curate)
on Jun 30, 2001 at 03:39 UTC ( [id://92844]=note: print w/replies, xml ) Need Help??


in reply to how do I set a cookie and redirect

Just print the headers like so:
print "Set-Cookie: name=value; path=path; domain=domain; expires=expir +es;\n"; print "Location: http://whatever.net\n\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://92844]
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: (1)
As of 2024-04-25 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found