title: 'SessionStore' object has no attribute 'email'
body: <p>I'm struggling to access my session variable in django.</p>
  
  <p>I have two different apps custom_user and article. 
  in my views.py file of custom_user i have declared a session variable. </p>
  
  <pre><code>def auth_view(request):
      username = request.POST.get('username', '')
      password = request.POST.get('password', '')
      user = auth.authenticate(username=username, password=password)
  
      if user is not None:
          auth.login(request, user)
          request.session['email'] = user.email
          return render_to_response(request, "loggedin.html", locals(),context_instance=RequestContext(request))
      else:
          return HttpResponseRedirect('/accounts/invalid')
  </code></pre>
  
  <p>and in my views.py of article app I'm accessing it like this.</p>
  
  <pre><code>def articles(request):
  
      return render_to_response('articles.html',
          {'articles':Article.objects.all().order_by('-id'),'last':Article.objects.earliest('-pub_date'), 'loggedin':request.session.email})
  </code></pre>
  
  <p>my articles.html file inherits base.html file and there i'm using {{loggedin}} to access the variable.
  I have used {{request.session.email}} but this also doesn't work</p>
  
  <p>What I ultimately want to do is to show the email address of the user loggedin throughout my site in my navbar which is in base.html file. </p>
  
  <p>I'm only getting the user.email value in loggedin.html file which is rendered in auth_view function. but not in any other html file.</p>