what is the purpose of using of "$_SESSION['authuser'] = 1" in php, why we use 1 in this section
<p>actually, i could not understand why do we use "$_SESSION['authuser'] = 1;" in php code, my code as below</p>

<pre><code>&lt;?php
session_start();
$_SESSION['username'] = $_POST['user'];
$_SESSION['userpass'] = $_POST['pass'];
$_SESSION['authuser'] = 1;
//Check username and password information

if(($_SESSION['username'] == 'joe') and
($_SESSION['userpass'] == '123')) {
$_SESSION['authuser'] = 1;
} 
else 
{
echo 'Sorry, but you don\'t have permission to view this page!';
exit();
}

?&gt;
</code></pre>