Location: PHPKode > scripts > oracle_sessions > oracle_sessions/test1.php3
<?php
//Sample file - Demonstrates the use
require ("session.php3");

//Open connection to db 
connect2db();

//Load session variables or start new session
s_start();

//Print the variables
echo "After session_start() : \n<br><ul>" ;
echo "<li>  \$name = " . $name . "\n<br></ul>";
echo "<li>  \$mail = " . $mail . "\n<br></ul>";

//Destroy session
s_destroy();

echo "After session_destroy() : \n<br><ul>" ;
echo "<li>  \$name = " . $name . "\n<br></ul>";
echo "<li>  \$mail = " . $mail . "\n<br></ul>";
?> 
Return current item: oracle_sessions