Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Retrieving cookies from a webserver

Reply
Thread Tools

Retrieving cookies from a webserver

 
 
Peter v.d. Berger
Guest
Posts: n/a
 
      09-26-2004
Hello all,

I wrote a simple perl-script using Libwhisker to retrieve a plain html file
from a website (on a remote webserver) to view some stats of that site.
The website uses cookies, and i found out these cookies contain useful
information for me. Now I also want to retrieve (and print) the first cookie
the server sends me (the 'client').
Main problem: I'm not a Perl-guru, and i can't find any clear documentation
about retrieving cookies when you're simulating a webbrowser with a
perl-script.
My question: can someone point me to some clear documentation, or even give
me some info or an example on how to do this?


Kind regards,

Peter





 
Reply With Quote
 
 
 
 
A. Sinan Unur
Guest
Posts: n/a
 
      09-26-2004
"Peter v.d. Berger" <> wrote in
news:4157452f$0$78772$:

> Main problem: I'm not a Perl-guru, and i can't find any clear
> documentation about retrieving cookies when you're simulating a
> webbrowser with a perl-script.


http://www.perldoc.com/perl5.8.0/lib/lwpcook.html

Sinan
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
Query on retrieving cookies through javascript vipul Javascript 2 03-28-2008 06:26 AM
Retrieving Cookies asg Javascript 1 05-15-2006 08:56 PM
Response.Cookies vs Request.Cookies Alex Nitulescu ASP .Net 1 02-03-2005 09:43 AM
Persistent Cookies vs. session cookies Andy Fish Java 3 11-06-2003 10:44 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57