Hi ,

I was trying to access the session key using request.session object in
django.  To do this we can use
request.session._session_key or request.session.session_key out of
this which is the right one to use ?


The Problem:

When you open browser for first time on web server the
request.session._session_key returns None object . What could be the
reason for this ?  Using request.session.session_key eliminates this
error . But would like to know why _session_key returns None for first
time .

I am using Djang0 1.1 and python 2.4.3

Thanks in advance
Sumanth

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to