<?php session_start(); $_SESSION['variable']= "Hola mundo"; ?>
<?php session_start(); //escribe Hola mundo echo $_SESSION['variable']; ?>