W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

Re: Cookies

From: Marcelo Cantos <marcelo@mds.rmit.edu.au>
Date: Tue, 20 Jul 1999 14:02:52 +1000
To: Diana Komarov <Diana.Komarov@clr.com>
Cc: libwww <www-lib@w3.org>
Message-ID: <19990720140252.A24469@io.mds.rmit.edu.au>
This is about the fiftieth copy of this message you have sent me.

Please turn off your autoresponder.


On Mon, Jul 19, 1999 at 09:45:51PM -0500, Diana Komarov wrote:
> 
> 
> 
> 
> 
> 
> 
> 
> I made a few small changes to the cookie support
> (mainly one change and a couple of utily function added).
> 
> First of all, I added a new CookieMode: HT_COOKIE_SAME_DOMAIN. It works
> like HT_COOKIE_SAME_HOST but only checks for the terminal part of the
> hostname (possibly the domain name).
> 
> This allows to accept/send cookies to all the hosts in the same domain,
> since many sites now split their content on multiple hosts.
> 
> Also I added a couple of new string utilities: tailcomp and tailcasecomp.
> They act like strcmp and strcasecmp but check the first strings against
> the end of the second string. This allows "domain comparison" as described
> in the cookie specs.
> 
> The code is still missing all the checks for a proper domain (2 or 3 dots
> depending on the top level), but it's ok for controlled use.
> 
> If you think this code can be useful I can check it in.
> 
> -- Raffaele
> 



-- 
http://www.simdb.com/~marcelo/
Received on Tuesday, 20 July 1999 08:50:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:17 UTC