Re: Session2-0.6.1 and Qx2.4

Titus Brown <[email protected]> Thu, 14 Sep 2006 08:23:15 -0700
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On Thu, Sep 14, 2006 at 01:53:28PM +0100, R J Ladyman wrote:
-> Dear All,
-> 
-> Having installed the above (yes, I'm finally moving to Qx2 from 1.0b1) I 
-> notice that the Session2 SessionManager is missing a number of methods 
-> present in the Qx SessionManager (e.g. the placeholders for abort_changes and 
-> commit_changes plus all _key-related stuff). Was there any reason for not 
-> inheriting from the original SessionManager and overriding the 'useless' 
-> methods (other than lack of time, of course)? 
-> 
-> Not a criticism, I'm just wondering: I tripped on this from trying to run the 
-> altdemo with a persistant store - there was no 'values' method, but no error 
-> reported either, other than " SessionManager instance has no attribute 
-> 'items' " which took me a while to track down.
-> 
-> Regards, and thanks for a useful package.

Hi, RJ,

the session2 package is largely a redesign of the session persistence
mechanism.  abort_changes and commit_changes have no meaning in the
new design & would just have confused people.

If you're really interested, check out

	http://www.advogato.org/person/titus/diary.html?start=93

cheers,
--titus