Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Stupid Cookie Question

by converter (Priest)
on Feb 28, 2002 at 22:31 UTC ( #148411=note: print w/replies, xml ) Need Help??


in reply to Stupid Cookie Question

The Unofficial Cookie FAQ has some good information on cookie implementation.

In a nutshell, make sure that the path and domain values aren't overly-restrictive. The domain field is evaluated right to left, so that ".example.com" would cause the client to transmit the cookie with requests to www.example.com, foo.example.com, etc. If the domain were specified as www.example.com, the client would not transmit the cookie with requests sent to foo.example.com.

As others have suggested, if you specify the path value as '/', the client will transmit the cookie for all requests as long as the domain field permits it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://148411]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-11-24 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (350 votes). Check out past polls.

    Notices?