Login to web mail - libUrlSetAuthCallback?

VHD vhd at vhd.com.au
Wed Oct 27 22:27:30 EDT 2004


Hi Dave,

Thanks for the reply.

I didn't realise that libURL had libUrlSetLogField. Very nice. 
It does something very similar to liveHTTPHeaders for use with Firefox.

The problem seems to be related to cookies, so I am not sure what the next step is.

Ben

P.S: Thanks for maintaining libURL.

*********** REPLY SEPARATOR  ***********

On 28/10/2004 at 12:25 AM Dave Cragg wrote:

>On 27 Oct 2004, at 11:58, VHD wrote:
>
>> I am trying to login to an internet email account I have (similar to 
>> Hotmail).
>>
>> I have tried POST, URL etc... commands without success.
>
>I think the first thing you should do is log the response from the 
>server. (libUrlSetLogField)
>
>This should show you status and http headers returned by the server. 
>For example, whether a cookie is required, or whether the 
>authentication scheme is something other than the Basic scheme.
>
>
>>
>> When using a normal browser it seems that there are a few page 
>> redirections before I am able to view my emails.
>> Also if I type "http://user:pswd@domain.com" into my browser I can log 
>> in without a problem but this does not work with the URL command.
>>
>> It does not seem like the URL and POST commands are able to handle 
>> page redirections. (? is this correct)
>
>The internet library (libUrl) is set to handle redirects by default. 
>But again, using libUrlSetLogField will show if this is a problem.
>
>>
>>
>> It seems that libUrlSetAuthCallback might do the trick but there is 
>> still no documentation for it.
>
>I doubt this will help in this situation. But you can see documentation 
>for this here:
>
><http://www.lacscentre.co.uk/liburl/>
>
>Let us know what you find in the server response.
>
>Cheers
>Dave
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>__________ NOD32 1.909 (20041028) Information __________
>
>This message was checked by NOD32 antivirus system.
>http://www.nod32.com





More information about the use-livecode mailing list