For destroying all sessions use the following
session_destroy()
Destroying a single session variable use the below unset function
unset($_SESSION[‘myval’]);
Note:if you are using a session in a php page always use the session_start(); at the begining of the php page.