[Zope] How to touch session_data without fingerprints???

Chris McDonough chrism@zope.com
Fri, 19 Jul 2002 13:47:55 -0400


> > A workaround for now is (maybe in an external method) to use the
> > _hasSessionDataObject method of the session data manager, which
takes
> > a single parameter, "key".  The key should be the user's browser
id,
> > which can be obtained by calling the getBrowserId method of the
> > browser id manager with the parameter "create=0".
> > If the user has no browser id, of course you can't call
> > _hasSessionDataObject, and it's safe to assume that he has no
session
> > data object.
>
> I'm not sure if it will help. Each simple touch of the session
object
> results in creation of the new entry in temp_folder/session_data.
I didn't
> realize that it happens even in my function counting its elements.

Did you read the above?  It explains exactly how to avoid this.

- C