php session name
Posted: Tue Jul 14, 2009 9:03 pm
hey guyz! I need some help!!!
I have been using firecookies to keep track of the cookies on my browser
I had this code
Its file name is session.php and it is included in all my php files
what I want is to change the session cookies' name but when I load the page,
firecookies would report the name PHPSESSID which I expect as uid
what seems to be the problem guyz...
I have been using firecookies to keep track of the cookies on my browser
I had this code
Code: Select all
<?php
ini_set(session.use_cookies, 1);
ini_set(session.name, 'uid');
session_start();
?>what I want is to change the session cookies' name but when I load the page,
firecookies would report the name PHPSESSID which I expect as uid
what seems to be the problem guyz...