Mega Code Archive

 
Categories / Php / Cookie Session
 

Registering a variable by including it in $_SESSION

<?php session_start(  ); $_SESSION['hello'] = 'Hello World'; echo $_SESSION['hello']; ?>