Thanks for taking the time to read my question.
I would like to make my own session.php page. I figured that it would be smart to use the current session.php page as an example.
What part do I need to be able to just create session variables?
ie:
<?php
Is that all I need?
I would like to make my own session.php page. I figured that it would be smart to use the current session.php page as an example.
What part do I need to be able to just create session variables?
ie:
<?php
- Code:
$_SESSION['test'] = "Happy";
echo "I am " . $_SESSION['test'];
- Code:
<?php
class Session
{
function startSession(){
session_start();
}
};
$session = new Session;
?>
Is that all I need?