[web2py] Re: Big problem -- no session_id without using Auth

2011-09-04 Thread Cliff
I'm pretty sure you can eliminate the session store as the source of your problem. Use a different browser to access the admin pages so you don't have to worry about the polluting your test session with cookies. Make sure you delete all your site cookies every time you test. This should cause th

[web2py] Re: Big problem -- no session_id without using Auth

2011-09-03 Thread pbreit
Have you tried starting over from scratch with a brand new app? Would it work to save the items into session itself instead of the DB?

[web2py] Re: Big problem -- no session_id without using Auth

2011-09-03 Thread Joe Barnhart
This is still driving me nuts. I have an app that works some of the time and totally inexplicably fails other times. When it fails it is because it gets a new session_id value for every transaction with web2py. I have a table where I keep information created by the user during their session. Th

Re: [web2py] Re: Big problem -- no session_id without using Auth

2011-09-01 Thread Jonathan Lundell
On Sep 1, 2011, at 11:49 AM, Joe Barnhart wrote: > Cookies and session ids are a bit of "black magic" to me. I assume > that web2py handles the setting of the session cookie with the > associated session id when the page is rendered. But I have no idea > if this is right or not. It certainly is

[web2py] Re: Big problem -- no session_id without using Auth

2011-09-01 Thread Joe Barnhart
Cookies and session ids are a bit of "black magic" to me. I assume that web2py handles the setting of the session cookie with the associated session id when the page is rendered. But I have no idea if this is right or not. It certainly is acting as though web2py is being contacted without the se

[web2py] Re: Big problem -- no session_id without using Auth

2011-09-01 Thread Joe Barnhart
I can believe this. I too have seen it behave perfectly if I have EVER been logged in to the app (or admin i/f) from a computer. But if I go to a computer where it has NEVER seen the admin i/f or logged in, the app fails to give me a consistent session id. It's very weird. On Sep 1, 11:29 am, pb

Re: [web2py] Re: Big problem -- no session_id without using Auth

2011-09-01 Thread Jonathan Lundell
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 dif

[web2py] Re: Big problem -- no session_id without using Auth

2011-09-01 Thread Joe Barnhart
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 tr

[web2py] Re: Big problem -- no session_id without using Auth

2011-09-01 Thread pbreit
As far as I know it should remain constant for the session. I added {{=response.session_id}} to the layout.html of a fresh "welcome" app and the id remained the same on all pages.