Hi
I have changed session_id to a new one.on that page it gets change.but as i move to another page this id is not new one.
In short i want to change session_id.
Plz help me out.
Thanks
Urgent---Change session_id
Moderator: General Moderators
- mudkicker
- Forum Contributor
- Posts: 479
- Joined: Wed Jul 09, 2003 6:11 pm
- Location: Istanbul, TR
- Contact:
from manual:
When defining your own unique session ID instead of letting your browser do the job, you should do this before starting the session
e.g.
$id = 143445254;
session_id($id);
session_start();
print session_id();
// prints 143445254
//instead of the 32-bit string //generated by
//the computer/browser
//ofcourse it is better if you'll //generate your own session ID using md5