Once the session has been initialized, the data that must remain persistently can be stored in the superglobal
$_SESSION array. The following are examples of storing persistence data to this superglobal array:
<?php
$_SESSION['fname'] = 'George';
$_SESSION['lname'] = 'Burnes';
?>
$_SESSION array. The following are examples of storing persistence data to this superglobal array:
<?php
$_SESSION['fname'] = 'George';
$_SESSION['lname'] = 'Burnes';
?>
Comments
Post a Comment