Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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 the web crawler heard nothing...

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

    Results (301 votes). Check out past polls.