http://www.perlmonks.org?node_id=6382


in reply to Recommended modules for handling cookies?

There are some debugging steps you'll need to go through to find out what the problem is. Some of the things I'd start with:

1. Turn on the cookie warnings in your browser. This will let you make sure that the cookie is being set, and should also let you see what it's being set to.

2. Check your cookies file (wherever that may be) and check for the cookie you just set. I don't know on windows, but on unices, the file is generally in ~/.netscape/cookies

3. Telnet into your webserver once the cookie has visibly been set, port 80, and type 'GET / HTTP/1.0<enter><enter>'. Any cookies being returned to you will show up in the header.

4. Any other rudimentary checks, such as making sure that cookies aren't turned off, or something of the likes.

If nothing there is conclusive, respond with your test results and it'll have to be dug into deeper.

  • Comment on Re: Recommended modules for handling cookies?