Ok, I'm trying to create a script kind of like a shopping cart. No money or private information involved. Just collecting data and e-mailing it on.
Everything was working great. I was using a program called PhPSecurePages to handle the authentication.
I was also snagging the Session ID to help me keep track of things. Here's the problem... I can't seem to end that session ID for anything!
If the $phpsessid = "123abc" (kept short as an example), I can close the browser, come back in twenty minutes and the id is identical. I've tried:
<?php
session_unset();
session_destroy();
session_id("");
?>
Doesn't matter. The session returns. I'm not using ANY session variables, just the $phpsessid. What's going on here? All I want to do is finish with someone, clear out the ID forever, and have it create a new one at the next login. Is this possible? Is this not typically the way its done?
Thanks
Everything was working great. I was using a program called PhPSecurePages to handle the authentication.
I was also snagging the Session ID to help me keep track of things. Here's the problem... I can't seem to end that session ID for anything!
If the $phpsessid = "123abc" (kept short as an example), I can close the browser, come back in twenty minutes and the id is identical. I've tried:
<?php
session_unset();
session_destroy();
session_id("");
?>
Doesn't matter. The session returns. I'm not using ANY session variables, just the $phpsessid. What's going on here? All I want to do is finish with someone, clear out the ID forever, and have it create a new one at the next login. Is this possible? Is this not typically the way its done?
Thanks