in reply to Re: Empty Cookie
in thread Empty Cookie
But what I have noted is that you are not showing your domain in your example.
I'm using an actual tld in the format '.domain.com'
The cookie is actually being set successfully, it's retrieving it that is the problem. That would lead me to believe it's a problem with the domain and/or path, but I've quadruple checked them and it all looks right.
Other thing you need to know, and probably already know, is that you need to send the cookie before send the headers (content-type line).
I'm currently sending the cookie with the code print $q->header(-type=>'text/html', -cookie => $cookie); which seems to work. This couldn't be causing a problem, could it?
Thanks for the help :)
|
|---|