1session_destroy(); // To delete whole session
2// OR
3unset($_SESSION['myVar']); // To delete a session var
1<?php
2 session_start(); // start session
3 session_destroy(); // Delete whole session
4// OR
5unset($_SESSION['username']); // delete any specific session only
6?>