roryne has asked for the wisdom of the Perl Monks concerning the following question:
This part works fine, it grabs the cookies and writes out to a file like it's supposed to (under HTTP::Cookies). It's when I try and use a POST string to actually do the logging in that it just won't work.my $request = $ua->get("https://login.yahoo.com/config/login?.src=fpct +x&.done=http://www.yahoo.com"); $cookie_jar->extract_cookies($request);
There's my login string (it works manually), but when I dump the page content into an html file and open it, it tells me my browser is blocking cookies. I've looked all over cpan.org and different modules documentation and I just can't seem to figure out exactly what I'm supposed to do :( Please help me out!$postString = 'https://login.yahoo.com/config/login?' . "$postString"; my $request = $ua->get($postString);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Small problem with handling cookies
by Cody Pendant (Prior) on Oct 16, 2007 at 08:38 UTC | |
|
Re: Small problem with handling cookies
by moritz (Cardinal) on Oct 16, 2007 at 08:33 UTC | |
|
Re: Small problem with handling cookies
by Gangabass (Vicar) on Oct 16, 2007 at 08:39 UTC | |
|
Re: Small problem with handling cookies
by roryne (Initiate) on Oct 16, 2007 at 08:48 UTC | |
by moritz (Cardinal) on Oct 16, 2007 at 09:08 UTC | |
by roryne (Initiate) on Oct 16, 2007 at 09:12 UTC | |
by roryne (Initiate) on Oct 17, 2007 at 06:41 UTC | |
by Gangabass (Vicar) on Oct 18, 2007 at 00:11 UTC |