Hi All,
I've been trying
to set a cookie but instead of it to be set it's been showed to me by
browser the information below.I tried to find the answer in the the Web
however i didn't find anything yet. can someone help me?
Fabio Set-Cookie: Fabio=Usuario; path=/Curriculum; expires=Mon, 19-Apr-2004
19:56:46 GMT Date: Sat, 20 Apr 2002 19:56:46 GMT Content-Type: text/html;
charset=ISO-8859-1
Tks for using
I'm using apache
server, win2k and IE6.I decided to put the code i wrote to find out if
someone can help me.
my $query = new CGI;
print $query->header(); use CGI::Carp qw(fatalsToBrowser); use CGI qw(-no_xhtml); use CGI::Cookie; $to_set = CGI::Cookie->new(-name
=> "Fabio",
-value => "Usuario", -expires => "+2y" , -path => "/Curriculum"); header(-cookie=>$to_set), start_html("Tks"), h1("Tks for using"), end_html(); I hope someone can help me.Tks in
advance!
Fabio Quintao - Rio de Janeiro -
Brazil
[EMAIL PROTECTED] |
- Re: Cookie not setting correctly. Fabio Quintao
- Re: Cookie not setting correctly. Michael Nino