in reply to Empty Cookie
If you are using localhost ($ENV{HTTP_HOST} = 'localhost'), you can't set explicity a cookie for this host for security, since your Brownser won't let the server set the cookie. So, when you set a cookie to localhost you can't send the domain part!
Make some tests, sending only the name and value of the cookie, since is simpler to find the erro isolating it.
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).
Good luck!
Graciliano M. P.
"The creativity is the expression of the liberty".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Empty Cookie
by Anonymous Monk on Jun 28, 2003 at 02:03 UTC |