<?php session_start(); if (isset ($_SESSION['harsh_id'])) { header("location:home.php"); } else { header("location:login.php"); } ?>