destroying all data associated with the current session of that user. code example
Example: php session destroy
<?php
// Destroy the currently active session.
session_destroy();
?>
<?php
// Destroy the currently active session.
session_destroy();
?>