When i load my website then PHPSESSID is automatically set with value after login in the website the value is remain same
I want after login PHPSESSID will be change when user login in the website so that session hacking is not possible
ini_set('session.cookie_httponly', 1);
header('Pragma: no-cache');
header('Cache-Control: no-cache, must-revalidate, max_age=0');
header('Expires: 0');
session_start();