Cookies

Dave Cragg dcragg at lacscentre.co.uk
Thu May 2 13:43:01 EDT 2002


At 5:12 pm +0000 2/5/02, David Bovill wrote:

>     2) the httpheaders property appears to be a global property of the
>engine not of liburl (set the httpheaders to CookieHeader) - liburl help
>could be updated here?

The httpHeaders is part of the engine, but libUrl uses it before 
sending any http request, and resets it to empty.

I think the Revolution docs are complete on this. The dictionary 
entry has a lot of useful information on the httpHeaders property.

>     3) lastRHHeader is a custom property of liburl (put the lastRHHeaders of
>stack liburl...)

My advice is to only use the publicized (in the Rev dictionary) 
interface for libUrl: basically the commands and functions starting 
with "libUrl". Don't rely on accessing the properties directly. For 
example, it's possible that  the lastRHHeaders property could 
disappear if it was decided to use a script local variable instead. 
But the libUrlLastHttpHeaders function will always return the correct 
value.

Cheers
Dave Cragg



More information about the use-livecode mailing list