On Sat, 23 May 2009 11:03:26 +0530
Puneet Aggarwal <[email protected]> wrote:

> Hi All,
> 
> I am facing issue when I am trying to access session variables in django.
> 
> I am setting the session variable something like :
> 
>  request.session['cityname'] = cityname
[...]

This should work. Have you set MIDDLEWARE_CLASSES properly
in settings.py, and added django.contrib.sessions to your
INSTALLED_APPS? See the top of
http://docs.djangoproject.com/en/dev/topics/http/sessions/
or the appropriate documentation version for your Django
version.

Regards,
Gora
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to