session_start(); session_unset();
session_start(); session_destroy();This will completely destroy the session and all data associated with it. After calling this function, a new session will be created on the next page load. Package library: PHP comes with built-in session handling functions, so you don't need to install any external libraries or packages.