Does anybody know how to include a log off link within a website?
i.e - Terminating the current user session ?
the [man]session_destroy[/man] manual page has examples.
They all include cookies whereas my code doesnt.
I have created a page "logoff.php" - could I just end the page with....
session_destroy(); ?>
Yes
I have just included this within my page at it worked!
Thank you