On Nov 8, 5:54 pm, octopusgrabbus <old_road_f...@verizon.net> wrote:
> I am able to log into my form page, which is a simple form asking the
> user for one value. If that value is entered successfully, I am able
> to redirect to another "you were successful" page. However, my
> template logic that checks to see if the user is authenticated -- as
> far as I can tell the user is logged using Django's admin resources --
> says the user is not authenticated.
>
> How is a user's being authenticated cached, so another html template
> knows that fact?

It's not 'cached'. A user's logged-in status is identified via their
session cookie, which is sent to the server on every request and
processed via the authentication middleware.

However, I suspect your problem is simpler. Are you sure you are
passing the request, or the user, to the second template? It would
help if you posted the code for the relevant view and template.
--
DR.

-- 
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