Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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. www.example.org can set the example.org domain so media.example.org 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 ;^)


Comment on Re^3: Sending Cookies from localhost with perl
Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-10-22 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (117 votes), past polls