Changeset 3672
- Timestamp:
- 16 Sep 2008, 14:45:25 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/__init__.py
r3277 r3672 136 136 ## DirectoryTypeRegistry.register(WAeUPTables.Applicants) 137 137 138 # Create a faster session container in temp_folder... 139 import Zope 140 from Products.faster.sessiondata import addSessionDataContainer 141 sess_container_name = "faster_session" 142 root = Zope.app() 143 temp = root.unrestrictedTraverse( "/temp_folder", None ) 144 if temp is not None and not sess_container_name in temp.objectIds(): 145 addSessionDataContainer( temp, sess_container_name, 9600, 4800, 146 lazy=True, title='Faster session data container') 147
Note: See TracChangeset for help on using the changeset viewer.