Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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]
[Eily]: duck typing is when someone starts typing in python you have to duck, fast
[shmem]: trading perl for python is just like throwing away a big tool box, to be given a hammer, a gripper and a screwdriver instead

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2018-04-20 13:10 GMT
Find Nodes?
    Voting Booth?