Loading ...
Sorry, an error occurred while loading the content.

Re: LWP and HTTP:Cookie

Expand Messages
  • b_harnish
    ... I wrote a simple script to log into yahoo, get a cookie, and display the PBML homepage (at the bottom of the message):
    Message 1 of 2 , Apr 23, 2002
    • 0 Attachment
      --- In perl-beginner@y..., "Saumitra Sarkar" <saumitras@s...> wrote:
      > hi
      >
      >
      > Could u help me to fetch data using LWP and HTTP:Cookie......Actually I
      > know key,value and Exp date of Cookie.
      > Now my problem is
      > 1.) What is format of cookie file that I have to send through
      > LWP.
      > 2.) How can I send cookie through header?

      I wrote a simple script to log into yahoo, get a cookie, and display the PBML homepage (at the bottom of the message):
      http://groups.yahoo.com/group/perl-beginner/message/9602

      If you know all the info about the cookie, you could call set_cookie method of HTTP::Cookies.

      - Brian
    Your message has been successfully submitted and would be delivered to recipients shortly.