IlyaM: You have been great!

It still doesn't post the data and gives me what seems to be the screen that would show up if someone was not logged in. I used your newest code (just a note, I had to add a ");" on the end of line 12) and it gave me the following in the header of the page returned:
HTTP/1.1 200 OK Connection: close Date: Wed, 22 May 2002 19:56:15 GMT Server: Microsoft-IIS/5.0 Content-Type: text/html Expires: 0 Client-Date: Wed, 22 May 2002 19:58:47 GMT Client-Response-Num: 1 Page-Completion-Status: Normal Page-Completion-Status: Normal Set-Cookie: CFGLOBALS=HITCOUNT%3D46%23LASTVISIT%3D%7Bts+%272002%2D05%2 +D22+12%3A56%3A16%27%7D%23TIMECREATED%3D%7Bts+%272002%2D05%2D20+23%3A4 +7%3A29%27%7D%23; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/; Set-Cookie: LASTVISIT=%7Bts+%272002%2D05%2D22+12%3A56%3A16%27%7D; expi +res=Sun, 27-Sep-2037 00:00:00 GMT; path=/; Set-Cookie: SID=99999999999999999999; expires=Fri, 21-Jun-2002 12:56:1 +6 GMT; path=/; Title: Page Title
The rest of the page comes up with their default signup form (when you are in the member area and not logged in?). Any ideas? It doesn't seem like the cookie is being passed with the second POST request. THANKS!

Edit by dws for code tags and formatting


In reply to No more 302 error, just no cookie info with POST? by inblosam
in thread LWP, extract_cookies, etc. by inblosam

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.