[web2py] Re: how to use session in cookie?

2012-12-22 Thread Massimo Di Pierro
Can you please look for the error in the apache logs? There is a limitation in the cookie size wich may break for large sessions. On Saturday, 22 December 2012 08:49:04 UTC-6, Adi wrote: I tried using session.connect(cookie_key='key', compression_level=9) instead of

[web2py] Re: how to use session in cookie?

2012-12-22 Thread Adi
Size could definitely be my problem... Bellow is the bottom part of the Apache error log: [Sat Dec 22 04:22:50 2012] [error] k,len 0 3 [Sat Dec 22 04:22:50 2012] [error] k,len 1 3 [Sat Dec 22 04:22:50 2012] [error] k,len 2 3 [Sat Dec 22 04:22:54 2012] [error] k,len 0 3 [Sat Dec 22 04:22:54

[web2py] Re: how to use session in cookie?

2012-12-22 Thread Adi
Sorry Massimo, Seems I was looking into wrong error_log... This one is related to web2py... JUst run it again: [Sat Dec 22 11:10:53 2012] [error] [client 24.150.57.81] (13)Permission denied: access to /mobipp_us/static/plugin_wiki/rating/jquery.rating.js denied, referer:

[web2py] Re: how to use session in cookie?

2012-12-22 Thread Massimo Di Pierro
In think the problem is exactly the size of the cookie. On Saturday, 22 December 2012 10:15:20 UTC-6, Adi wrote: Sorry Massimo, Seems I was looking into wrong error_log... This one is related to web2py... JUst run it again: [Sat Dec 22 11:10:53 2012] [error] [client 24.150.57.81]

[web2py] Re: how to use session in cookie?

2012-12-22 Thread Adi
Thanks Massimo. So, is session.connect(request, response, db=db) my only option for mysql at the moment? i tried to get memcache working, but getting stuck with syntax... is there a valid sample somewhere? In one of the posts I found this code, but getting an error bellow... from