Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-02-02 Thread Chris McDonough
. - Original Message - From: "Toby Dickenson" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 01, 2001 9:00 AM Subject: Re: [Zope-dev] Fw: [Zope-dev] Storing s

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-02-02 Thread Andy McKay
> Im storing session-like data pickled inside the URL. I end up with > long, ugly-looking URLs, but it does mean that a browser's bookmarks > and back button work as expected, effectively 'undoing' changes made > to thier session state. > > This solution also avoids the problem of finding enough s

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Chris McDonough
> Any special reason why I shouldn't pickle apart from the fact that the ZODB > will do it to save the object? The session data object class may move in the future, which in the "normal" case would only require that you restart the server (if they're transient) or flush your data container (if th

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Andy McKay
> Cool! Note that the session data object implements the mapping interface, > so you don't really need to pickle up a copy of it. I'd recommend against > this, although it seems to be working well for you. Any special reason why I shouldn't pickle apart from the fact that the ZODB will do it to

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Chris McDonough
l Message - From: "Andy McKay" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 31, 2001 2:47 PM Subject: Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB > Well my quick hack and

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Andy McKay
h a better solution. -- Andy McKay. - Original Message - From: "Chris McDonough" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 31, 2001 11:28 AM Subject: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB > This is a forwardin

[Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Chris McDonough
rom: "Andy McKay" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]> Sent: Wednesday, January 31, 2001 1:56 PM Subject: Re: [Zope-dev] Storing session objects in a ZODB > > I think you may be trying to use sessions to do something that sessions >

Re: [Zope-dev] Storing session objects in a ZODB

2001-01-29 Thread Chris McDonough
t back up your session data won't have disappeared. - Original Message - From: "Andy McKay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 29, 2001 6:19 PM Subject: [Zope-dev] Storing session objects in a ZODB > I want to store the session objects (from

[Zope-dev] Storing session objects in a ZODB

2001-01-29 Thread Andy McKay
I want to store the session objects (from CoreSessionTracking) in the ZODB so that users can save preferences (set in a Session) and call them back later. Just thinking that the easiest way to something is to pickle it, but pickling it in the ZODB which then pickles it, seems daft. Someone suggest