Hi Bobby, Typically what I do is set the value from the session into a variable that I pass into the context.
#in views.py def my_action(request) account_num = request.session['AccountNum'] return render_to_response('the_template.html', {'account_num' : account_num}) #in the_template.html {{ account_num }} HTH, Brandon On Jun 27, 3:33 pm, Bobby Roberts <[EMAIL PROTECTED]> wrote: > i'm trying to view session variables on the screen in a template. I > know the session variable has a value because i've tested it in my > view. I'm trying this in my template but not getting any results: > > Account #: {{ request.session.AccountNum }}<br /> > > What could I be doing wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---