spewn
Programmer
- May 7, 2001
- 1,034
hello!
i'm trying to set a cookie value, then redirect my page, but i can't seem to find any information on how to do this.
here's my code:
only thing i can find is how to set it with the header...
besides setting it that way, then calling a javascript redirect, is there another way?
thanks!
- g
i'm trying to set a cookie value, then redirect my page, but i can't seem to find any information on how to do this.
here's my code:
Code:
#!/usr/bin/perl
use CGI qw(:standard);
#set cookie here
print "Location: [URL unfurl="true"]http://newurl.com\n\n";[/URL]
only thing i can find is how to set it with the header...
besides setting it that way, then calling a javascript redirect, is there another way?
thanks!
- g