I have Xitami set up on my system so I can work on stuff offline, ip 127.0.0.1.
I'm having trouble setting a cookie on my local drive.
I'm using standard cookie code -
use CGI qw/:standard/;
use CGI::Cookie;
$c = new CGI::Cookie(-name => 'vanila',
-value => 'cream',
-expires => '+3M',
-domain => '.127.0.0.1',
-path => '/cgi-bin'
);
print header(-cookie=>$c);
but it dosn't work.
Any one had any success doing this.
Bob
http://totallyfreeads.com
I'm having trouble setting a cookie on my local drive.
I'm using standard cookie code -
use CGI qw/:standard/;
use CGI::Cookie;
$c = new CGI::Cookie(-name => 'vanila',
-value => 'cream',
-expires => '+3M',
-domain => '.127.0.0.1',
-path => '/cgi-bin'
);
print header(-cookie=>$c);
but it dosn't work.
Any one had any success doing this.
Bob
http://totallyfreeads.com