Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: I wanna set Cookie and then jump to other location.How I do?

by Anonymous Monk
on Jun 29, 2000 at 09:56 UTC ( [id://20327]=note: print w/replies, xml ) Need Help??


in reply to Can I set a Cookie and then jump to another location?

Looks like it works if you call header.
#!/usr/bin/perl -w use CGI; use CGI::Cookie; my $q = new CGI; my $Cookie = new CGI::Cookie(-name=>'MyCookie', -value=>1); print $q->header(-cookie=>$Cookie, -location=>'http://perlmonks.org');

Log In?
Username:
Password:

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

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

    No recent polls found