# Paste this in your views.py file and replace 'yourView' below
from django.shortcuts import HttpResponse
def yourView(request):
if request.method:
strOne = ''
for key, value in request.session.items():
strOne = strOne +'</br>'+ str('{} : {}'.format(key, value))
return HttpResponse(strOne)
# returns a print out of all your session variables in your browser