XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
For the sake of troubleshooting, first remove the "path", "expires", and "domain" settings, and then try it again. That way you can see if you can at least set the basic name and value of the cookie.
The domain and path are set for the most part as a security or control, to restrict which sites can read the cookie. If you don't specify the domain/path, I believe it will just default to the domain of the site. If you don't specify an expire time, I believe your browser will default to the duration that the browser process remains active. Or you can do what I do and set and read the cookies manually and not use CGI.pm. While that may be against some people's rules, I feel more control in certain complex sites and it is easier for me to understand. In reply to Re: damn cookies...
by fpi
|
|