Retrieving cookies from a webserver

Discussion in 'Perl Misc' started by Peter v.d. Berger, Sep 26, 2004.

  1. 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
     
    Peter v.d. Berger, Sep 26, 2004
    #1
    1. Advertising

  2. "Peter v.d. Berger" <> wrote in
    news:4157452f$0$78772$4all.nl:

    > 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
     
    A. Sinan Unur, Sep 27, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alex Nitulescu

    Response.Cookies vs Request.Cookies

    Alex Nitulescu, Feb 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    8,617
    Hans Kesting
    Feb 3, 2005
  2. Andy Fish
    Replies:
    3
    Views:
    6,600
    Fredrik Lindner
    Nov 6, 2003
  3. _Who
    Replies:
    7
    Views:
    2,768
  4. asg

    Retrieving Cookies

    asg, May 15, 2006, in forum: Javascript
    Replies:
    1
    Views:
    78
    David Dorward
    May 15, 2006
  5. vipul
    Replies:
    2
    Views:
    121
    vipul
    Mar 28, 2008
Loading...

Share This Page