Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Cookie not being set...

by Thilosophy (Curate)
on Mar 14, 2008 at 07:13 UTC ( #674162=note: print w/replies, xml ) Need Help??

in reply to Cookie not being set...

I'm trying to set cookies from a CGI script, but they don't get set on the filesystem.

Unless you specify that you want a persistent cookie, there is no reason why the browser should save it to the filesystem. A session cookie could (should?) be kept entirely in memory.

The script diplays in the browser fine, but still no cookie is created.

Can you verify that the cookie gets sent back to the server with the next request, or that it is accessible by JavaScript? If so, your cookie should be okay.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://674162]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2016-10-28 08:48 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (378 votes). Check out past polls.