Hi..
I have a page with some information and one link called "moreinfo".(If user click the "moreinfo " link he will get more information ) .
What i need here is ,any one can access the page and only registered users should access the "moreinfo " link.
How to do this pls any one help me with code..
Thanks
Doubts on restricting users
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Doubts on restricting users
Typically you would authenticate them with a login page. Once authenticated, you would set a cookie or value in the session. Then that restricted page can check the cookie/session to control access.
(#10850)