I have login page, and after login I have user information related pages. so i don't want to direct access those pages from url. Instead of it will redirect to login page. how can I do that.
my sessions.php page code
<?php
if(!isset($_SESSION))
{
session_start();
}
$login_session=$_SESSION['email'];
?>