Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

where define my global variable?I have Error


Go to End
Reply


9 Posts   5834 Views

Avatar
bebabeba

Community Member, 193 Posts

5 December 2008 at 12:31am

I want create in homepage a login section. If the user is a privilege user, he can see 2 reserved page.
So I thought to use a global variable inside login function. If this variable is 1 the user is privileged and he can see all menu (with 2 reserved page.) otherwise not.
the problem is that when user is logged I see the name of 2 reserved page in menu. If I clich on that page, I see content of page but in my menu the name of reserved page disappear. User seems log off. I try use session but something is wrong..

Go to Top