create_session_variable.php : _SESSION « Cookie Session « PHP
- PHP
- Cookie Session
- _SESSION
create_session_variable.php
<?php
session_start();
$_SESSION['username'] = "jason";
echo "Your username is ".$_SESSION['username'].".";
?>
Related examples in the same category