Luke,

Thankx -- this was helpful.
I was missing a cookie jar handler in my script

CC-


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Luke
Baker
Sent: Friday, April 08, 2005 4:48 PM
To: [email protected]
Subject: Re: [Nutch-dev] Converted Wiki

On 04/08/2005 04:27 PM, Chirag Chaman wrote:
> So, I'm all ready to post the new wiki....but hit a little snafu.
> 
> Basically, I can't seem to login via my script. Have a Perl script 
> that needs to do the following:
> 
> 1. Login

Chirag,

Was your script able to login previously?  It needs to keep track of cookies
(not discard them), so that it'll send them on each subsequent request.
Once that is setup, I'd imagine you'd just have to hit the login page [1]
with the following POST information:
action=userform&username=UserName&password=yourpasswordhere&password2=&email
=&login=Login

Subsequent requests would have to use the same object so that they have
access to the cookie(s), I think.  Depends on how you implemented it.

I don't know if this is plainly obvious or what you're looking for in
regards for help.  A snippet of the login code might be helpful.

Luke

[1] http://wiki.apache.org/nutch/UserPreferences


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid reviews
on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to