in reply to Re: Small problem with handling cookies
in thread Small problem with handling cookies

As I wrote before, it uses a get request when a post is expected. But WWW::Mechanize is really the better idea.

Replies are listed 'Best First'.
Re^3: Small problem with handling cookies
by roryne (Initiate) on Oct 16, 2007 at 09:12 UTC
    Try running it how it is right now and then change it to a post. When you open the html file after a GET, there's a problem with the login (cookies being the problem). If you do it with a POST, you get absolutely no error and it acts like it didn't do anything.
    I'll look at WWW::Mechanize tomorrow, it's 4am and I have class at 9. Thanks for the heads up on the module.
      I still can't seem to get the hang of this... even with WWW::Mechanize. I swear I get weird errors about the method not being found in Mechanize, despite me looking off the module help page. I'm just trying to login to Yahoo's webmail at the moment... I didn't think it'd be this hard :(

        Please provide your code so we can help you.