[Zope] User is logged in? (LoginManager)

Jon Delheimer jon@norman.k12.ok.us
Sun, 7 May 2000 17:26:16 -0500 (CDT)


How do you determine if the user is logged in?

You can not check for "Anonymous User" because the user can briefly be
"LoggingInUser". You can not check for the Anonymous role because
LoginManager forces everybody to have the Anonymous role.

I think if LoginManager gave LoggingInUser the Anonymous role and stopped
forcing everybody else to have the Anonymous role, I could use the
Anonymous role for the test.

Is there another way to determine if the user is logged in?

Thanks.