maintaining session in directory traversal using php
<p>i'm new to php ... i'm trying to maintain a session in a directory traversal script ... however every time i go to a sub directory my session variables are lost ...<br>
right now my script looks something like -   </p>

<pre><code>start_session();          

//login and authenticate using functions in included scripts 
//(include(login.php);include(auth.php)) and set session variables accordingly  

if (session variable is set)
{
    //start the traversal script
}  
</code></pre>

<p>so what i want to know is how can you manage a session in a directory traversal ....can anyone help me out here ... </p>
