LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

downloading http source code from an url, using datasocket capabilities

the format is quite simple, but not very descriptive in itself. i searched a bit and found a description somewhere on the net. here is the description of each field, with some personal comments added:

 

domain - The domain that created AND that can read the variable.

flag - A TRUE/FALSE value indicating if all machines within a given domain can access the variable. This value is set automatically by the browser, depending on the value you set for domain.
path - The path within the domain that the variable is valid for. ['/' represents the root directory]

secure - A TRUE/FALSE value indicating if a secure connection with the domain is needed to access the variable. [a secure connection is one established using https, this is not the case for the website you are interrested in]

expiration - The UNIX time that the variable will expire on. UNIX time is defined as the number of seconds since Jan 1, 1970 00:00:00 GMT. [for easier computation, look in <time.h>, the definition of time_t may be identical... from my experience the expiration date for a never-expiring cookie varies greatly from site to site, i am aware of at least 2 onventions for encoding such a cookie. i don't know what the expiration date of a cookie set by javascript should be (it is most certainly a session cookie, so it should have an expiration value of 0)]

name - The name of the variable.
value - The value of the variable. 

0 Kudos
Message 11 of 11
(782 Views)