Hi everyone...

I've an web applications with several directories and a session to keep 
them all together...

The problem is that when i make a link to a file like:

    <a href="../directory/file.php">sjdhfjsd</a>

The current session in the isn't passed to the file.php...

But if i make a link to a file as:

    <a href="directory/file.php">sjdhfjsd</a>

The session is passed correctly...

To make a workarround i can make a file like:

    <?php
        include_once("../directory/file.php");
    ?>

And instead of linking directly to the file as in the first example, i 
just link to the workarround file which reside in the same directory as 
the current file...

I would like to know is why aren't the sessions kept when one moves the 
current directory up in the directory tree, but the same session is kept 
when one moves down in it, or up by using include directives...

Keep in mind that the session.cookie_path is set to "/"...

This figures like a serious problem in the session management sistem 
that php 4 uses... [or a nasty configuration trick (or a 
mishunderstanding on how it should work on my part)]...

Thanx for all the help...
Luis Ferro
Teladigital


---
[This E-mail scanned for viruses by Declude Virus]


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to