J
James
I know this is not the right topic to post here, but I get better
responses, so here it is again.
In a cgi script, I am trying to set a cookie, then redirect to a
different url.
use CGI;
my $q = new CGI;
my $c = $q->cookie( -name => 'ID', -value => 'bob');
print $q->header(-type => "text/html", -cookie => $c);
print $q->redirect(-url=>"index.cgi");
It does not work.
Thanks in advance.
James
responses, so here it is again.
In a cgi script, I am trying to set a cookie, then redirect to a
different url.
use CGI;
my $q = new CGI;
my $c = $q->cookie( -name => 'ID', -value => 'bob');
print $q->header(-type => "text/html", -cookie => $c);
print $q->redirect(-url=>"index.cgi");
It does not work.
Thanks in advance.
James