Dan Zwell wrote:
> Peter Marsh wrote:
>> 
>> res =
>> Net::HTTP.post_form(URI.parse('http://en.wikipedia.org/w/index.php?title=Special:Userlogin&returnto=Main_Page'),{'wpName'=>'username_not_this_one',
>> 'wpPassword'=>'password_not_this_one'})
>>     puts res.body
>> 
>> My user & password were correct.
>> 
> 
> On the main page, see the text where it says "Sign in / create account"?
> Search the body for that text. It won't say that if the login was
> successful.
> 
> Dan

That's the thing, I've tried that but I can't find 'sign in' 'sign out' 
or the my username, which usually appears in the top right. Also, I've 
tried looking at the pade via IE after I've run the code, and that says 
I'm not signed in as well.

Any ideas?

-- 
Posted via http://www.ruby-forum.com/.