The only thinks I found is: For Auth operatons -> set auth.settings.expiration For all session -> set response.cookies[response.session_id_name] ['expires']= For permanently delete session -> auth.logout(); os.remove(response.session_filename); session=None; del response.cookies[response.session_id_name]
Ok - it is possible, but there is now solution like django request.session.flush(), request.session.set_expiry (http:// docs.djangoproject.com/en/1.1/topics/http/sessions/#topics-http- sessions) 2. Is it possible to save session in database (not in file)? there is a function session._try_store_in_db(), but how to set it to default? Thanks for response