persistant data
Eric Hodel
drbrain at segment7.net
Tue Sep 5 17:36:53 UTC 2006
On Sep 5, 2006, at 9:27 AM, Evert|Rooftop wrote:
> Eric Hodel wrote:
>> On Sep 5, 2006, at 9:09 AM, Evert|Rooftop wrote:
>>
>>> Thanks, so there is no way to just mark a specific piece of data
>>> persistent? I still want the usual cache features and 'older'
>>> cache kicked out when theres not enough space, except session data..
>>>
>>> I don't mind losing the data, as this is only keeping temporary
>>> session data.. worst case scenario users will have to login again..
>>
>> We store sessions in memcached and set a cookie that will
>> authorize the user if they have no session in memcached.
>
> How can you authenticate with a cookie if you don't have something
> on the server-side to match with (that would be the lost session
> information).. are you storing a password in the cookie?
Encrypted cookie with the user id and session id.
--
Eric Hodel - drbrain at segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant
http://trackmap.robotcoop.com
More information about the memcached
mailing list