python - session_regenerate_id in Django. Does it exist? -
i wonder if there exists function in django
similar in php
, session_regenerate_id()
. want use kind of function rotate sessionid
on each n requests in order provide more security. in php
use in manner described guy in post. want implement same thing in django
project, i'm new django
, not know if there exists such function change user's session id on fly.
yes, such function exists in django - request.session.cycle_key()
.
Comments
Post a Comment