Recommend this page to a friend! | Stumble It! | Bookmark in del.icio.us |
Classes of Richard Fairthorne | > | oracle_sessions | > | test1.php3 | > | Download | ||
|
Download |
<?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>"; ?> |