I am not able to set php session
for starting the session I am using below code
session_start();
$_SESSION['username'] = $username;
For checking the session I m using
<?php
if (!isset($_SESSION['username'])) {
header('Location: index.html');
}
?>
But the session is not being set as I am not able to grep it. Please help urgent.