Showing posts with label Session. Show all posts
Showing posts with label Session. Show all posts

Wednesday, September 28, 2011

Destroy a session in PHP

We can destroy session in php in two ways. If you wish to delete some session data, you can use the unset() or the session_destroy() function. The unset() function is used to free the specified session variable