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

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -