[Yanel-dev] About cookies

Michael Wechner michael.wechner at wyona.com
Thu Sep 2 10:15:56 CEST 2010


Cedric Staub wrote:
> Hello
>
> Something else I recently stumbled upon: when Yanel creates a cookie, it
> writes a timestamp to that cookie. But timestamps are not unique... If we
> have more than one request per second we'll have multiple users with
> the same cookie and we won't be able to distinguish them anymore.
>
> The code actually knows this and includes a TODO and I think this is
> certainly something that should be fixed. I suggest instead of
> timestamps we could use random UUIDs

I think UUID should be sufficient

>  or perhaps a combination of both?
>
> Well, what do YOU think? ;-)
>   

happy to accept patches ;-)

Thanks

Michael
> Cheers
> Cedric
>   



More information about the Yanel-development mailing list