Click here to Skip to main content
15,879,348 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
first login page =index.php(after login there is 3 page)
1st page=admin.php
2nd page=news.php
3rd page=profile.php
finally, logout.php


After login i tried to logout but still i can see the 3 pages by paste url in browser

if understand my question please answer me
Posted

1 solution

1. Clear the session in the logout.php page.
2. In the admin.php, news.php, profile.php check if the session is null then redirect to the login.php page.

Hope the above two points helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900