#native php session handling
// initializes session handling in php
session_start();
// assign and set session variables
$_SESSION['varname'] = 'value';
// unset a certain variable
unset($_SESSION['varname']);
// free all session variables
session_unset();
// terminate or kill session handling
session_destroy();
No comments:
Post a Comment