How (and when) do I update Pylons (beaker) on my workstation? Thanks. Edgar
On Apr 6, 11:50 am, Ben Bangert <[email protected]> wrote: > On Apr 6, 2009, at 6:39 AM, edgarsmolow wrote: > > > > > When a user opens a browser and goes to a page on our site, it seems > > that session cookies are not available. It's only after they have > > been to at least one page that a cookie is available. For instance, > > > from pylons import request, response, session > > > if 'session-id' in session: > > ## do something > > else: > > session['session_id'] = some_session_id > > session.save() > > ## do other stuff > > > When first coming to a web page, a new cookie is *always* being > > created because the IF test *always* fails because the session id is > > not found. I was hoping that it would be found; that way, previously > > entered data can be recouped. > > > Perhaps I am just not understanding the cookie mechanism. > > This was a bug in the Beaker session handler that was fixed in the > latest development branch. I'll release it today to remedy the problem. > > Cheers, > Ben > > smime.p7s > 3KViewDownload --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
