On Feb 5, 9:42 am, Thomas Wittek <[EMAIL PROTECTED]> wrote:
> On Feb 4, 6:19 pm, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
> > The idea is to have a common State class
>
> You can use sessions to store per-user 
> state:http://docs.turbogears.org/1.0/Sessions

Yes, I know, but for some simple state (like pagination) I don't need
the full session support. Also, storing some state in the URL (if it
can be passed via the URL) would allow easier handling of the "back"
button.

Anyway, my proposal is for a unified state handling in which you can
choose where some variables are stored (URL, cookie or server-side
session) and simply access them via an object. The API should be the
same whether you use CherryPy or Pylons, only the implementation
should differ.

Catalin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to