Login to web mail - libUrlSetAuthCallback?

Dave Cragg dcragg at lacscentre.co.uk
Wed Oct 27 19:25:58 EDT 2004


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



More information about the use-livecode mailing list