<?php
// you have to open the session first
session_start();
//remove all the variables in the session
session_unset();
// destroy the session
session_destroy();
?>
By Angela Bradley, About.com Guide
<?php
// you have to open the session first
session_start();
//remove all the variables in the session
session_unset();
// destroy the session
session_destroy();
?>
What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >
Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >
©2009 About.com, a part of The New York Times Company.
All rights reserved.