On my website I have no login system. However, users get sessionid
and csrftoken
, but I need to clear them up from time to time
Is there any way that I can delete them manually?
Thanks a lot.
This is because django enables some middleware by default. This includes, django CSRF middleware and django session middleware. Remove them from your settings.py file
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware',
)