Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Cookies and things...

by The Mad Hatter (Priest)
on Feb 21, 2004 at 14:14 UTC ( #330799=note: print w/ replies, xml ) Need Help??


in reply to Cookies and things...

I'd set the right path using the -path key when creating the cookie to be sure it is being set to the right value. See the doc for how to do so.

In any case, it sounds like your problems could be more than solved by using HTTP's Basic auth for securing the directory you wish.

Update I'll assume that my $cookie = $query->cookie(-name=>'cookie', -value=>'hello', -domain=>'www.cis$ isn't the actual line in use, otherwise I would not expect it to work at all.


Comment on Re: Cookies and things...
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2015-07-05 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls