Tuesday, July 29, 2014

user object's is_authenticated() method ALWAYS return True even after they log out??

I tried viewing the value of is_authenticated() for a user and it always is true...before and after logging in and after signing out.

I'm trying to determine if a user has logged in or not.  Is this the right variable to use?  Why not changing?

Thanks.


cs

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a1ac670d-1406-452b-8868-aefd70d3e7cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment