BackTalk to Document The Zope Book (2.6 Edition)/Sessions

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions.stx#3-87

---------------

      To work around this problem, several environment variables may
      be specified during Zope startup which effect the parameters of
      the 'session_data' transient object container that gets created
      in the temp_folder.  These are::

        ZSESSION_ADD_NOTIFY

            An optional full Zope path name of a callable object to be
            set as the "script to call on object addition" of the
            session_data transient object container created in
            temp_folder at startup.

        ZSESSION_DEL_NOTIFY

            An optional full Zope path name of a callable object to be
            set as the "script to call on object deletion" of the
            session_data transient object container created in
            temp_folder at startup.

        ZSESSION_TIMEOUT_MINS

            The number of minutes to be used as the "data object
            timeout" of the "/temp_folder/session_data" transient
            object container.

        ZSESSION_OBJECT_LIMIT

            The number of items to use as a "maximum number of
            subobjects" value of the "/temp_folder" session data
            transient object container.

        % Anonymous User - Mar. 3, 2004 3:30 pm:
         Do those settings apply to all session_data objects in Zope instance? Is there a way to maintain settings
         separate for a site tree (virtual hosting)? DEL_NOTIFY and ADD_NOTIFY need to be absolute paths so
         acquisition doesn’t seem to help for defining different methods per site…

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.