Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: Sending Cookies from localhost with perl

by rowdog (Curate)
on May 18, 2010 at 14:16 UTC ( #840523=note: print w/replies, xml ) Need Help??

in reply to Re^2: Sending Cookies from localhost with perl
in thread Sending Cookies from localhost with perl

Don't use -domain. Firefox sees the space and just drops the domain altogether. If you look at the cookie details, you'll see that the domain is not set.

Domain is used to allow cookies to be shared by more than one machine within one domain. E.G. can set the domain so can use the same cookie. localhost doesn't have a valid domain so you'll have to settle for a host only cookie, which is what you will get from the non-standard -domain => " ".

I wrongly guessed that you were using domain to get around the IE bug. Sorry about the windows slander ;^)

Replies are listed 'Best First'.
Re^4: Sending Cookies from localhost with perl
by martell (Friar) on May 19, 2010 at 21:27 UTC
    You right, omitting the domain works also. thx

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2018-01-23 18:13 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (251 votes). Check out past polls.