Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

How can my script accept or decline a cookie?

by Anonymous Monk
on May 10, 2000 at 19:47 UTC ( [id://10977]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

My client send GET request to server, server returns Set-cookie: blah blah how do I send a decline or accept back to server so I can get the page I wanted?

Originally posted as a Categorized Question.

  • Comment on How can my script accept or decline a cookie?

Replies are listed 'Best First'.
Re: How can my script accept or decline a cookie?
by merlyn (Sage) on May 11, 2000 at 01:13 UTC
    It should be returning both the page and the cookie. If it's not yet returning the page, it's probably wanting you to remember the cookie, and "click another link".

    The LWP package can hold "cookie jars" to automatically send back previously noted cookies. See perldoc lwpcook after installing LWP.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found