PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Is it possible to close a session wihout closing browser?
Should this close a session?
I have this to close a session in my web, but after this, when you are taken to acceso6.html it still recognise the session.
<?php
session_start();
session_unset();
session_destroy();
header("Location: /acceso6.html");
?>
actually the code that perfidus had, i fuond on a tutorial and copied and pasted it, it didnt work , dont you hate it when tutorials tell you the wrong things! or maybe its works for an older version of PHP, not sure