Skip to content

PHP code snippet – How to start a session?

<?php 
session_start(); //starts session
session_unset(); // remove all session variables
session_destroy(); // destroy the session
?>


See also  Python code snippet - How to select li element in selenium ?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.