Django 1.7 opening one database connection for each request

2014-09-09 Thread Mauro Alexandre
Please help, i have a problems in my production enviromet. After Django update when my database stopping by "Too many open connections". I use mariadb and, i tried set explict 'CONN_MAX_AGE' to 0, but now solved. I'm desperate, I do not know what to do with the production environment. -- You

Re: Recover User by SESSIONID

2012-06-17 Thread Mauro Alexandre
Thanks :) 2012/6/17 Mauro Alexandre > Sultan, great ! > > Guess I'll do that too, it's very unsafe. > > Thanks for the tip! > > > 2012/6/17 Sultan Imanhodjaev > >> Hey, >> >> In my case I use generated hash from *user.id* and *us

Re: Recover User by SESSIONID

2012-06-17 Thread Mauro Alexandre
Sultan, great ! Guess I'll do that too, it's very unsafe. Thanks for the tip! 2012/6/17 Sultan Imanhodjaev > Hey, > > In my case I use generated hash from *user.id* and *user.date_joined*passed > via > *formData* this is poor implementation and potentially insecure but for a > while it works