Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
PHP - Logout example
SUBMITTED BY:
efbee
DATE:
Oct. 3, 2016, 3:53 p.m.
FORMAT:
PHP
SIZE:
183 Bytes
Raw
Download
Tweet
HITS:
711
Go to comments
Report
<?php
session_start
();
unset
(
$_SESSION
[
"username"
]);
unset
(
$_SESSION
[
"password"
]);
echo
'You have cleaned session'
;
header
(
'Refresh: 2; URL = login.php'
);
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus