Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Using WWW::Scripter with NTLM authentication

by LambethBoy (Initiate)
on Feb 04, 2011 at 10:18 UTC ( #886178=note: print w/replies, xml ) Need Help??


in reply to Re^3: Using WWW::Scripter with NTLM authentication
in thread Using WWW::Scripter with NTLM authentication

I'm not explicitly cloning, it happens when WWW::Scripter starts reading referenced JavaScript files (when using the JavaScript plugin). The oroginal HTML document loads fine, I get the NTLM authorisation errors when the .js files are being read.

Cheers,
LB.

  • Comment on Re^4: Using WWW::Scripter with NTLM authentication

Replies are listed 'Best First'.
Re^5: Using WWW::Scripter with NTLM authentication
by rowdog (Curate) on Feb 04, 2011 at 10:41 UTC

    Hrm, I hadn't realized that WWW::Mechanize::FAQ says that

    Mech keeps a history of every page, and the state it was in. It actually keeps a clone of the full Mech object at every step along the way.

    So, there's a clone for each step. I'm kind of in over my head here but I don't see anything wrong with your workaround, as long as you're not sending requests from a bunch of different threads or something silly like that.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://886178]
help
Chatterbox?
choroba waits
[thepkd]: $aohoaoh ->{'foo'} has to be dereferenced to access its contents right?
[thepkd]: sorry. i mean $aohoaoh[0]
[GotToBTru]: $aohoaoh is an array reference tho
[thepkd]: some guy was suggesting $aohoaoh[0]->{'foo '}[0]->{}. This wouldnt work.
[GotToBTru]: you're mixing notation there I think
[GotToBTru]: $aohoaoh->[0] is a hash reference, so $aohoaoh->[0]->{ key1} would work

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2016-12-06 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (104 votes). Check out past polls.