[web2py] Re: Sharing sessions and authentication

2010-12-22 Thread mdipierro
This smells like a bug or web2py is picking up some leftover sessions from cookies. Try this: delete everything in the sessions/ folder of the three apps. If you still have the problem I will try reproduce the problem and fix it. Massimo On Dec 22, 5:40 pm, Marin Pranjic wrote: > Hi there, > I

[web2py] Re: Sharing sessions and authentication

2010-12-22 Thread mdipierro
I cannot today but I will tomorrow. ;-) On Dec 22, 6:18 pm, Marin Pranjic wrote: > Hi Massimo, > > I had that in mind already. And doublechecked. No sessions in folders. I > cleared the session table using appadmin on "shared". > Resulting: > Stil cannot login from "app1" to account created by "s

[web2py] Re: Sharing sessions and authentication

2010-12-22 Thread mdipierro
Yes if they are providing registration/login/change password. If only one app provides registration/login/change password than it does not need to be the same. On Dec 23, 12:31 am, ron_m wrote: > Would this key have to be the same in all applications? > > auth.settings.hmac_key = 'sha512:63f0a5e7

Re: [web2py] Re: Sharing sessions and authentication

2010-12-22 Thread Marin Pranjic
Hi Massimo, I had that in mind already. And doublechecked. No sessions in folders. I cleared the session table using appadmin on "shared". Resulting: Stil cannot login from "app1" to account created by "shared". I just created another account in "shared" registration forum. Cannot login from "app2

Re: [web2py] Re: Sharing sessions and authentication

2010-12-22 Thread Marin Pranjic
No prob. I deleted all Recent history in browser, and tried again with the same result. Pretty sure it's not about cookies :) On Thu, Dec 23, 2010 at 1:20 AM, mdipierro wrote: > I cannot today but I will tomorrow. ;-) > > On Dec 22, 6:18 pm, Marin Pranjic wrote: > > Hi Massimo, > > > > I had th

Re: [web2py] Re: Sharing sessions and authentication

2010-12-22 Thread ron_m
Would this key have to be the same in all applications in your case? auth.settings.hmac_key = 'sha512:63f0a5e7-e395-4a28-8488-cf072a0464b6' # before define_tables() not the same as this particular one but consistent across all of the applications you have since you are sharing your auth_user

Re: [web2py] Re: Sharing sessions and authentication

2010-12-22 Thread ron_m
Would this key have to be the same in all applications? from my last post doesn't read correctly. I mean the same hmac_key in your set of shared applications. Sorry the deleted posts showed up as duplicates, the web app was showing error #316 post failed and saying try again but then they were

Re: [web2py] Re: Sharing sessions and authentication

2010-12-23 Thread Marin Pranjic
Key was the same in "app1", "app2" ,and "app3", but not in "shared" (don't know why). I've set the same key in all apps and it seems to be working now. Thanks! On Thu, Dec 23, 2010 at 7:57 AM, mdipierro wrote: > Yes if they are providing registration/login/change password. If only > one app pro