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
Description: S/MIME cryptographic signature
