Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Bad scheme in LWP::UserAgent

by thezip (Vicar)
on Oct 21, 2008 at 23:40 UTC ( #718611=note: print w/replies, xml ) Need Help??

in reply to Bad scheme in LWP::UserAgent

Is there any cookie traffic occurring? My guess is that the server is setting a client-side cookie after the authentication, and you're not mimicking that particular behavior.

You could try deleting the applicable cookie from your browser, and then manually logging into the site. Then, inspect the cookie to see what behavior needs to be implemented.

You might also use Wireshark to do some sniffing to see what traffic is being transmitted.

BTW, you really ought not use HTML tags to format your code. It causes your output to be messed up like it is, and it causes problems for other viewers of your node. The correct way to do it is by using code tags, as in:

<code> ... your code goes here ... etc. </code>
Update: Changed comment re: formatting code with <pre></pre> tags

What can be asserted without proof can be dismissed without proof. - Christopher Hitchens

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://718611]
[marto]: cpanm let's you install from git

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2018-03-17 13:05 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (224 votes). Check out past polls.