8 Feb
2001
8 Feb
'01
7:39 p.m.
Alexander Limi writes:
I'm running LoginManager with cookie-based authentication on my site, and I use the following piece of dtml to show a particular menu in the header of a page if a user has a particular role:
<dtml-if "AUTHENTICATED_USER.has_role(['SomeRole'])"> [menu] </dtml-if>
It works fine, except for one document: standard_html_header. When I try to access a page on my site that doesn't exist, the menu is not shown in the header anymore. This is not the way I want it. What has the nont existing page to do with the "standard_html_header"?
From what you describe, I would expect that your authentication cookie is no longer sent or LoginManager no longer recognizes it.
Dieter