Does anyone know how to create some code that will destroy a session id and instantly generate a brand new one?
So far I have tried (amongst other things);
- session_destroy() followed by session_start()
- the unset function
- hard coding a new session id myself (eg, $PHPSESSID="asdf")
- the manual
- this forum
...but so far I can't find anything that works for this seemingly straightforward task. Any help would be mega appreciated.