in reply to WWW::Mechanize issue

Can you show the actual cookies you get from the original form?

It looks like the CAPTCHA host (security.myspace.com) is different than the host you're accessing (collect.myspace.com). I suspect something is realizing they aren't the same and deciding not to send the cookies to security.myspace.com. That's just my initial suspicion though, so I'd like to see the domain part of the Set-Cookie value. Can you show the responses in your output too?

Update: If that manual example is you accessing two site on your own, can you capture the same stuff letting a browser figure it out?

--
brian d foy <brian@stonehenge.com>
Subscribe to The Perl Review

Replies are listed 'Best First'.
Re^2: WWW::Mechanize issue
by Anonymous Monk on Nov 17, 2006 at 17:05 UTC
    good find...I think you might be right. I currently don't have access to the script, but I'll post a response this evening.
Re^2: WWW::Mechanize issue
by Anonymous Monk on Nov 17, 2006 at 17:09 UTC
    Actually I take that back. The first set of GET and POST captures are a result of me manually doing it via the browser so they are correct...and my scripts attempt does use the same hosts for the GET and POST.