I am currently looking into sessions, and have found this tutorial, page one:
<?php
//start up the session, or we will also
//note, this must be at the top of the page or before any html
session_start();
//display a welcome message
echo "Welcome to The Source's Session Tutorial";
//store our session variables.
$_SESSION['real_name'] = 'Michael McMullen';
$_SESSION['nickname'] = 'plasma';
$_SESSION['website'] = 'http://ooturing.psychz.net';
//we use $_SESSION to store a session variable instead of a normal
//$variable_name.
//Now you have two options. The first one will only work if your session
//cookie was accepted. Most website have this off to increase security.
// echo "<br /><a href='spage2.php'>page 2(Not secure)</a>";
//Next one here is the secure one and it will pass your SESSION_ID along
//with you. This is the one you will see most often (or it will be
//a posted variable)
echo "<br /><a href='spage2.php?".SID."'>page 2(secure)</a>";
?>
But I am getting errors, and being a newbie, I haven't a clue what it means and how to resolve the error:
Welcome to The Source's Session Tutorial
page 2(secure)
Warning: write failed: Disk quota exceeded (122) in Unknown on line 0
Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
Can anyone explain and help me out?
Thanks in advance