today i had this script and i wanted to clear all the sessions values i had started in my php script. so if you find yourself in the same situation maybe this post will help you.

to clear all the sessions you can use the session_destroy() function