W liście Tycon z dnia środa 07 stycznia 2009:
> Below is quick implementation of this proposal. First we need to patch
> up Beaker's Session object to record it's "dirty" state(has been
> modified), and to allow clients to check the "accessed" and "dirty"
> properties:
>


Just note, that in case the dict is not modified directly, but an object 
inside is modified, you won't get notified of the change.

Eg. suppose the restored session has:
session['messages'] = []

Now i do:
session['messages'].append(u'New flash message')

You won't see that the session has changed. 

-- 
Paweł Stradomski

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to