|
Posted by windandwaves on 01/08/06 13:42
Hi
I have the following file:
--myfile.php
<?php
if($s) {
echo $s;
session_id($s);
session_start;
echo 'your account has been loaded, <a
href="index.php?PHPSESSID='.session_id().'">continue</a>.';
}
?>
I run it like this: myfile.php?s=abc
It does not matter how many times I load it, whenever I load my test file:
---test.php
<?php
session_start();
echo session_id()
?>
The same old session ID comes back (definitely not abc or any other
parameter that I pass using s). Having said that, in the link to index.php,
it provides the new session ID, but as soon as I reload the page, we are
back to normal.
The ONLY way to delete this old session ID is to delete the cookie from my
computer.
What am I doing wrong. It is driving me nuts!
TIA
- Nicolaas
Navigation:
[Reply to this message]
|