On Sep 1, 2011, at 11:25 AM, Joe Barnhart wrote:

> Update --
> 
> This problem is variable.  After logging into the admin session,
> logging out, closing the browser, and then opening it again the
> website seems to add sessions for me even as an unauthenticated user.
> Even after opening up a different browser it continued to work.  But
> when someone else tries it from a different computer, no session id is
> generated and no session information is retained.
> 
> I have also tried storing session information in the database with no
> difference.

Is it possible that the variability you're seeing is caused by your Ajax 
requests not setting the web2py session cookie?

http://webhole.net/2010/07/10/jquery-cookies-example/

(I don't really know what I'm talking about here, so maybe this is handled 
elsewhere in the web2py Ajax logic. But the main reason that web2py generates a 
new session id is that the request doesn't have a session cookie.)

Reply via email to