Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://718611]
help
Chatterbox?
[holli]: And I kindly suggest you post a question, instead of spamming the chetterbox
[holli]: my spelling... can you actually aquire dyslexia?
[LanX]: SoPW = Seekers of Perl Wisdom, the section for asking and answering general Perl questions. A form for asking a new Perl question can be found at the bottom of that page. (Be sure to read Posting on PerlMonks before posting!)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2017-10-23 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (280 votes). Check out past polls.

    Notices?