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

Re: Re: print and redirect

by cei (Monk)
on Apr 10, 2001 at 22:37 UTC ( [id://71437]=note: print w/replies, xml ) Need Help??


in reply to Re: print and redirect
in thread print and redirect

And to include the cookie functionality that costas later mentioned he wanted, you could do:

use CGI; my $page = new CGI; my $url = 'www.somewhere.com'; my $cookie = $page->cookie(-name=>'sessionID', -value=>'xyzzy', -expires=>'+1h', -path=>'/cgi-bin/database', -domain=>'.foo.bar', -secure=>1); print $page->redirect(-location=>'http://somewhere.else/', -cookie=>$cookie);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found