17488 Posts in 4473 Topics by 1978 members
| Go to End | ||
| Author | Topic: | 4797 Views |
-
Re: where define my global variable?I have Error

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..
| 4797 Views | ||
| Go to Top |

