Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Cannot create a cookie using HTTP::Cookies

by shagbark (Acolyte)
on Aug 25, 2015 at 02:35 UTC ( [id://1139761]=note: print w/replies, xml ) Need Help??


in reply to Cannot create a cookie using HTTP::Cookies

Looking at the source code for HTTP::Cookies,

$version defaults to 0, but in other code, it defaults to 1 if $discard or $secure are set, but only if it hasn't already defaulted to zero?

$path_spec is optional?, and adds a "\$Path="$path" line to the HTTP header. I don't know what this does.

It appears that setting $discard causes the cookie to be deleted at some time; perhaps end of session?

It is not clear at all how $port works, but it seems to be optional

Also, googling shows other people have asked what the documentation means, and the module's creator replied by saying he didn't see how it could be made any clearer.

Thanks for the module, but that part of the documentation could be made clearer.

Replies are listed 'Best First'.
Re^2: Cannot create a cookie using HTTP::Cookies
by Anonymous Monk on Aug 25, 2015 at 04:14 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-28 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found