Link to home
Start Free TrialLog in
Avatar of sanjay1911
sanjay1911

asked on

PHP Login & Logout process

Hello, I am referring to the article: PHP Client Registration, Login, Logout and Easy Access Control
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html

I have created login and register page. Now, once user is logged in, user should be able to see the logout page. I tried giving logout link on individual pages that are connected with the login process. I think that is wrong way of doing it. Logout should appear automatically on every page once user is logged in. Could you give me some idea of how I can display the logout link automatically after user log's in?
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sanjay1911
sanjay1911

ASKER

Thanks! Ray
Glad to help!