Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2018-03-24 18:28 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (299 votes). Check out past polls.