Mikeinutah
Programmer
Hi,
I have a program that uses cookies and it turns out that AOL users cannot set my cookie. I know that cookies can be set a number of ways and was wondering if I'm setting them in a way that is not compatable with AOL. Do any of you have an answer or suggestions that can help me?
Mine are being set like this:
use CGI qw
standard);
$user_id = "somename";
$value = qq($user_id,someinfo,somemoreinfo);
$User_cart = cookie(-name => 'User',
-domain => ' -value => $value,
-expires => '+7d',
-path => '/');
print header(-cookie => $User_cart);
Thanks,
Mike
I have a program that uses cookies and it turns out that AOL users cannot set my cookie. I know that cookies can be set a number of ways and was wondering if I'm setting them in a way that is not compatable with AOL. Do any of you have an answer or suggestions that can help me?
Mine are being set like this:
use CGI qw
$user_id = "somename";
$value = qq($user_id,someinfo,somemoreinfo);
$User_cart = cookie(-name => 'User',
-domain => ' -value => $value,
-expires => '+7d',
-path => '/');
print header(-cookie => $User_cart);
Thanks,
Mike