I know you can use:
unset($_SESSION['foo']);
to destroy a particular session variable.
I was wondering if there is a function to destroy all vars contained within $_SESSION ?
session_unset()
http://www.php.net/session_unset
When in doubt, RTFM. 🙂
.