hello,

Here is what I met.  I logined into my Django application online with
a username "peter". Then I logined with another username "john". All
seemed fine. Now I printed user name in "john" account, and it gave
"peter".

I used following code.

if request.user.is_authenticated():
     print request.user.username

Why request.user.username did not bind to "john" in this scenario?
Anybody knows what caused such a problem? And any ideas how to fix
it?

Thanks so much.
--~--~---------~--~----~------------~-------~--~----~
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 
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