At 22:38 04.04.2003, Anthony said:
--------------------[snip]--------------------
>nope, same host I actually call the file by sending this :
>header("Location: ../index.htm");
>and I loose the session.
--------------------[snip]--------------------
You've disabled cookies, either in your browser, or in php.ini completely
(for sessions, that is). Make your redirection like this:
header('Location: ../index.htm' . (SID ? '?' . SID : null));
I assume that your setup has "htm" files parsed by PHP. Otherwise - where
should the session data go to if you're redirecting to plain html?
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php