Session handling seems to be missing in the Pylons Official Docs.  My
particular question is, when should session.save() be called?  For
instance, I have an action that calls a few utility methods that all
modify the session, and a generic Flash class that also modifies the
session.  Should I call session.save() in all of them, or is that
inefficient?  One issue is that the user of the Flash class shouldn't
have to know whether/how the session is being used.  Should I just
call session.save() once at the end of the action?  Or in the base
controller?

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
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