[web2py] Re: Possible bug? session.auth is None in some requests

2013-04-06 Thread vince
do you think my problem of auth related? https://groups.google.com/forum/?fromgroups=#!searchin/web2py/auth$20error/web2py/jkqyPM5_zaE/Ve5gy7greuoJ i am running web2py on multi-threaded mod_wsgi On Thursday, January 17, 2013 4:53:40 PM UTC+8, Daniel Gonzalez wrote: Yes Anthony, pretty sure.

[web2py] Re: Possible bug? session.auth is None in some requests

2013-01-17 Thread Daniel Gonzalez
I was having a problem with session.auth.user, and my investigation has narrowed down the problem to web2py code. Instrumenting the code has allowed me to see the problem directly in the logs, but the problem is there no matter whether I modify Auth code or not. Sure, for me Sessions and

[web2py] Re: Possible bug? session.auth is None in some requests

2013-01-17 Thread Daniel Gonzalez
Yes Anthony, pretty sure. The little hash that you see in the logs *is* the cookie. Otherwise I can not grep for the relevant log messages (lots of activity going on with 10 parallel requests). This is the code that I have at the very top of my db.py: try: cookie_value =

[web2py] Re: Possible bug? session.auth is None in some requests

2013-01-16 Thread Massimo Di Pierro
You are modifying Auth code. What problem are you trying to solve? Sessions and session.auth work well with both stable and trunk version, do they not? On Wednesday, 16 January 2013 21:19:01 UTC-6, Daniel Gonzalez wrote: Hi, I am doing stress testing of my web2py application. The way I am

[web2py] Re: Possible bug? session.auth is None in some requests

2013-01-16 Thread Anthony
You're sure the client is sending the session cookie each time? On Wednesday, January 16, 2013 10:19:01 PM UTC-5, Daniel Gonzalez wrote: Hi, I am doing stress testing of my web2py application. The way I am doing this is: - 10 parallel clients - the clients log-in automatically, and