sending and receiving cookies

valetia at mac.com valetia at mac.com
Wed Jan 1 09:01:01 EST 2003


Just figured out the answer to question 2. Thanks anyway!

Valetia



> From: "valetia at mac.com" <valetia at mac.com>
> Reply-To: use-revolution at lists.runrev.com
> Date: Wed, 01 Jan 2003 22:30:57 +1000
> To: <use-revolution at lists.runrev.com>
> Subject: Re: sending and receiving cookies
> 
> OK, I've managed to figure out for myself the answers to questions 1, 3 and
> 4. That leaves question 2:
> 
> How do you retrieve cookie information from a browser?
> 
> In fact, this may be related:
> 
> How do you obtain the list of passed variables
> via a GET to a server-side revolution script?
> 
> The following code (taken from the online tip of the day) works only if you
> POST to the script, but not when you do a GET.
> 
> read from stdin until empty
> put  urlDecode (it)  into tDataIn
> split tDataIn by "&" and "="
> 
> Any ideas?
> 
> Valetia
> 
> 
> 
>> From: "valetia at mac.com" <valetia at mac.com>
>> Reply-To: use-revolution at lists.runrev.com
>> Date: Wed, 01 Jan 2003 18:13:50 +1000
>> To: <use-revolution at lists.runrev.com>
>> Subject: sending and receiving cookies
>> 
>> Hi all,
>> 
>> A couple of questions regarding cookies.
>> 
>> 
>> Server-Side Revolution Script:
>> 
>> 1. What statements should be used to properly send cookies to the browser?
>> 
>> 2. What about extracting information from cookies stored in the browser?
>> 
>> 
>> Client-Side Revolution App:
>> 
>> 3. What statements should be used to properly receive and store cookies?
>> 
>> 4. What about returning cookie information whenever required (and when would
>> that be, BTW)?
>> 
>> 
>> Thanks!
>> 
>> Valetia
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list