Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setcookie(session_name(), '', time()-42000, '/');
- setcookie('TOKEN', '', time()-42000, '/');
- setcookie('session', '', time()-42000, '/');
- $_SESSION = array();
- session_destroy();
- // Create new session
- session_start();
- $sessionid = session_id();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement