NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: kingja on August 04, 2014, 12:02:52 PM
-
I have a NT 7.39 app (C9.1.11129) with two drop down menu items that are set "user must be logged in". Upon logging out these menu items remain. I would like these to go away immediately upon log out. Pressing F5 (refresh) causes then to go away but I would think this should be automatic. I have also tried using the condition: p_web.GetSessionLoggedIn() = 1 but this does not solve the issue. Have I missed something here?
Jeff
-
you should logout to a page that does not have a header (menu). Have a look at the examples.
-
Kevin,
I believe I am logging out to a page without a header (menu), as I logout to the LoginForm, as seen in the attached image logout.png. Still, I see the two menu items "Data" and "Forms". See the attached image afterlogout.png.
I changed this to logout to the IndexPage and get the same results. Any other thoughts?
Thanks,
Jeff
[attachment deleted by admin]
-
I think there is a template option to add a header\footer to every page and this may be part of your problem. But if you go to a logout Are you sure page Yes/No first before returning to the login page you will be able to set the loggedout variable before it opens the login page.
-
Kevin,
I'll look into your suggestion, but for now I have the effect I want using the following condition:
p_web.GetSessionLoggedIn() = 1 and p_web.PageName <> p_web.site.LoginPage
on the two menu items. Seems to be working and I'll do some more testing.
Thanks,
Jeff