Commit fef0911c authored by Jim Fulton's avatar Jim Fulton

Made an implicit acquirer.

parent 870d3f76
...@@ -12,7 +12,7 @@ __doc__='''A drop-in object that represents a session. ...@@ -12,7 +12,7 @@ __doc__='''A drop-in object that represents a session.
$Id: Session.py,v 1.2 1997/11/07 17:43:19 jim Exp $''' $Id: Session.py,v 1.3 1997/11/07 18:51:13 jim Exp $'''
import time, SimpleItem, AccessControl.Role, Persistence, Acquisition, Globals import time, SimpleItem, AccessControl.Role, Persistence, Acquisition, Globals
from string import rfind from string import rfind
...@@ -40,7 +40,7 @@ def add(self, id, title, acl_type='A',acl_roles=[], REQUEST=None): ...@@ -40,7 +40,7 @@ def add(self, id, title, acl_type='A',acl_roles=[], REQUEST=None):
class Session(Persistence.Persistent, class Session(Persistence.Persistent,
AccessControl.Role.RoleManager, AccessControl.Role.RoleManager,
SimpleItem.Item, SimpleItem.Item,
Acquisition.Explicit): Acquisition.Implicit):
'''Model sessions as drop-in objects '''Model sessions as drop-in objects
''' '''
...@@ -104,7 +104,7 @@ class Session(Persistence.Persistent, ...@@ -104,7 +104,7 @@ class Session(Persistence.Persistent,
def nonempty(self): return Globals.SessionBase[self.cookie].nonempty() def nonempty(self): return Globals.SessionBase[self.cookie].nonempty()
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
...@@ -112,6 +112,9 @@ __version__='$Revision: 1.2 $'[11:-2] ...@@ -112,6 +112,9 @@ __version__='$Revision: 1.2 $'[11:-2]
############################################################################## ##############################################################################
# #
# $Log: Session.py,v $ # $Log: Session.py,v $
# Revision 1.3 1997/11/07 18:51:13 jim
# Made an implicit acquirer.
#
# Revision 1.2 1997/11/07 17:43:19 jim # Revision 1.2 1997/11/07 17:43:19 jim
# Added a feature to exit another session. # Added a feature to exit another session.
# #
......
...@@ -12,7 +12,7 @@ __doc__='''A drop-in object that represents a session. ...@@ -12,7 +12,7 @@ __doc__='''A drop-in object that represents a session.
$Id: Session.py,v 1.2 1997/11/07 17:43:19 jim Exp $''' $Id: Session.py,v 1.3 1997/11/07 18:51:13 jim Exp $'''
import time, SimpleItem, AccessControl.Role, Persistence, Acquisition, Globals import time, SimpleItem, AccessControl.Role, Persistence, Acquisition, Globals
from string import rfind from string import rfind
...@@ -40,7 +40,7 @@ def add(self, id, title, acl_type='A',acl_roles=[], REQUEST=None): ...@@ -40,7 +40,7 @@ def add(self, id, title, acl_type='A',acl_roles=[], REQUEST=None):
class Session(Persistence.Persistent, class Session(Persistence.Persistent,
AccessControl.Role.RoleManager, AccessControl.Role.RoleManager,
SimpleItem.Item, SimpleItem.Item,
Acquisition.Explicit): Acquisition.Implicit):
'''Model sessions as drop-in objects '''Model sessions as drop-in objects
''' '''
...@@ -104,7 +104,7 @@ class Session(Persistence.Persistent, ...@@ -104,7 +104,7 @@ class Session(Persistence.Persistent,
def nonempty(self): return Globals.SessionBase[self.cookie].nonempty() def nonempty(self): return Globals.SessionBase[self.cookie].nonempty()
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
...@@ -112,6 +112,9 @@ __version__='$Revision: 1.2 $'[11:-2] ...@@ -112,6 +112,9 @@ __version__='$Revision: 1.2 $'[11:-2]
############################################################################## ##############################################################################
# #
# $Log: Session.py,v $ # $Log: Session.py,v $
# Revision 1.3 1997/11/07 18:51:13 jim
# Made an implicit acquirer.
#
# Revision 1.2 1997/11/07 17:43:19 jim # Revision 1.2 1997/11/07 17:43:19 jim
# Added a feature to exit another session. # Added a feature to exit another session.
# #
......
...@@ -12,7 +12,7 @@ __doc__='''A drop-in object that represents a session. ...@@ -12,7 +12,7 @@ __doc__='''A drop-in object that represents a session.
$Id: Version.py,v 1.2 1997/11/07 17:43:19 jim Exp $''' $Id: Version.py,v 1.3 1997/11/07 18:51:13 jim Exp $'''
import time, SimpleItem, AccessControl.Role, Persistence, Acquisition, Globals import time, SimpleItem, AccessControl.Role, Persistence, Acquisition, Globals
from string import rfind from string import rfind
...@@ -40,7 +40,7 @@ def add(self, id, title, acl_type='A',acl_roles=[], REQUEST=None): ...@@ -40,7 +40,7 @@ def add(self, id, title, acl_type='A',acl_roles=[], REQUEST=None):
class Session(Persistence.Persistent, class Session(Persistence.Persistent,
AccessControl.Role.RoleManager, AccessControl.Role.RoleManager,
SimpleItem.Item, SimpleItem.Item,
Acquisition.Explicit): Acquisition.Implicit):
'''Model sessions as drop-in objects '''Model sessions as drop-in objects
''' '''
...@@ -104,7 +104,7 @@ class Session(Persistence.Persistent, ...@@ -104,7 +104,7 @@ class Session(Persistence.Persistent,
def nonempty(self): return Globals.SessionBase[self.cookie].nonempty() def nonempty(self): return Globals.SessionBase[self.cookie].nonempty()
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
...@@ -112,6 +112,9 @@ __version__='$Revision: 1.2 $'[11:-2] ...@@ -112,6 +112,9 @@ __version__='$Revision: 1.2 $'[11:-2]
############################################################################## ##############################################################################
# #
# $Log: Version.py,v $ # $Log: Version.py,v $
# Revision 1.3 1997/11/07 18:51:13 jim
# Made an implicit acquirer.
#
# Revision 1.2 1997/11/07 17:43:19 jim # Revision 1.2 1997/11/07 17:43:19 jim
# Added a feature to exit another session. # Added a feature to exit another session.
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment