django - Looking for potential problems by setting session cookie for every user -
for business-logic reason, need set sessionid
cookie each site visitor, if there no actual data stored session.
it can possible setting session_save_every_request
true
, overriding https://github.com/django/django/blob/fc4b4fd5850989458d6e54de12a29b2e40e94ce8/django/contrib/sessions/backends/base.py#l153 return false
. in case, session cookie not deleted because of https://github.com/django/django/blob/fc4b4fd5850989458d6e54de12a29b2e40e94ce8/django/contrib/sessions/middleware.py#l37.
can there problems if cookie remain?
or maybe there way set sessionid every visitor?
Comments
Post a Comment