Thanks! Just what I needed. I updated the cookbook example http://webpy.org/cookbook/sessions to include this info. Not sure if my explanation of all the session_parameters options is correct, so it should be reviews.
On Thu, Jan 8, 2009 at 9:06 PM, SM <[email protected]> wrote: > > This is from web/session.py: > > web.config.session_parameters = utils.storage({ > 'cookie_name': 'webpy_session_id', > 'cookie_domain': None, > 'timeout': 86400, #24 * 60 * 60, # 24 hours in seconds > 'ignore_expiry': True, > 'ignore_change_ip': True, > 'secret_key': 'fLjUfxqXtfNoIldA0A0J', > 'expired_message': 'Session expired', > }) > > > On Jan 8, 2:50 pm, SM <[email protected]> wrote: > > web.config is used as a global store in the debug-session-hack > > described here: > > > > http://webpy.org/cookbook/session_with_reloader > > > > I'm currently considering webpy session so I'd also be interested to > > know if there are web.config options for sessions. > > > > I really like the approach of webpy in general, but I feel like it > > would be significantly more useful with more documentation, even if it > > were just more comments in the code itself. Alternatively, more > > examples of use cases would be great. > > > > On Jan 8, 2:00 pm, Ben Corneau <[email protected]> wrote: > > > > > Are the configuration options under web.config documented anywhere? > > > I've been looking but haven't found any. Specifically, I'm looking > > > for session configuration options. I thought I had seen > > > web.config.session-* options listed somewhere, but now I can't find > > > them. Maybe it was my imagination. > > > > > Thanks, > > > Ben > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
