Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
LOGOUT
SUBMITTED BY:
AKSHAT007HERE
DATE:
Feb. 22, 2017, 9:33 a.m.
FORMAT:
PHP
SIZE:
262 Bytes
Raw
Download
Tweet
HITS:
718
Go to comments
Report
<?php
session_start
();
// although 2nd and 3rd line is not needed session_destroy() is needed,
// but just to be extra sure that no session remains in the cache.
$_SESSION
=
array
();
unset
(
$_SESSION
);
session_destroy
();
header
(
"location:index.php"
);
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus