Hi People...

I Need To Add A Cookie From A Site That I Accessed Through Watir To A 
WWW::Mechanize Agent...
Is There Any Way To Do It, Or Will It Be Possible To Be Really Authenticated In 
The Site Then By Mechanize Agent..

e.g If I Say If I Login In Yahoo By Watir And Then Try To Access My Inbox By A 
New Mechanize Agent Will It Do?

ie=IE.new
ie.goto('....')
ie.... # Logged In

cookie = ie.document.cookie

agent = WWW::Mechanize.new
page = agent.get('....') # here I Want To Go To My Inbox But I Have 
Authentication Problem 401 error

I Hope If I Can Transfer Cookie To Mechanize It Will Authenticate Me...

Any Suggestions... 
Thanks...
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to