Re: django development server timeout too quick

2013-04-26 Thread Chris Lawlor
Hadi, What is your SESSION_COOKIE_AGE set to? This setting controls session expiry. The default is 2 weeks. If you are not setting SESSION_COOKIE_AGE, check that your code is not calling request.session.set_expiry() anywhere. For light use, the default session backend (db) should meet your need

Re: django development server timeout too quick

2013-04-25 Thread Siddharth Ghumre
Hi Hadi, I am using sessions.middleware.SessionIdleTimeout in my app which takes care of the session management https://pypi.python.org/pypi/django-session-idle-timeout/1.0.1 Its clean and easy way to handle session timeouts. -Siddharth On Wed, Apr 24, 2013 at 11:57 AM, Hadi Sunyoto wrote:

django development server timeout too quick

2013-04-24 Thread Hadi Sunyoto
The problem is like this: i am using django admin, and in several forms, it might take around 10-20 minutes to fill up. By the time save button is pressed, i am always redirected to login page. The question is: how can i make the timeout longer (or maybe last forever) I set the cache to file an