On Tue, Jan 25, 2011 at 5:34 AM, Ben Corneau <[email protected]> wrote: > have had similar thoughts about sessions. Sessions are all or > nothing even if you only want them some of the time. However, instead > of complicating the session interface I think it would be much cleaner > to have web.py defer loading sessions until a session variable is > accessed. I cracked open session.py and with a few minor tweaks I was > able to get the simple cookbook example > http://webpy.org/cookbook/sessions working running the built in web > server. This was just a quick hack so there may be some glaring > oversight to why this is a bad idea that I have missed.
Indeed a good idea. This would greatly improve the existing apps for free, too. -- Branko Vukelic [email protected] http://www.brankovukelic.com/ -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
