Location: PHPKode > projects > NetLink > netlink_os/logout.php
// Initialize the session.
// If you are using session_name("something"), don't forget it now!

// Unset all of the session variables.
$_SESSION = array();

// If it's desired to kill the session, also delete the session cookie.
// Note: This will destroy the session, and not just the session data!
if (isset($_COOKIE[session_name()])) {
   setcookie(session_name(), '', time()-42000, '/');

// Finally, destroy the session.

Logging out of NetLink&copy;....</title>
<link media="screen" type="text/css" rel="stylesheet"  href="main.css" />
<meta http-equiv="refresh" content="1; URL=index.php">
<b>Logging out......</b>
<i>Thank you for using N<small>ET</small>L<small>INK</small>....
Return current item: NetLink