Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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


Comment on Re: Bad scheme in LWP::UserAgent
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://718611]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-09-20 14:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (159 votes), past polls