At 22:18 04.04.2003, Anthony said:
--------------------[snip]--------------------
>yes, it parses PHP in html files.  The php code works.  I just loose the
>session data when going from files in different folders.
--------------------[snip]-------------------- 

Different folders, or different hostnames?

PHP's ability to automatically add the SID to href's, as well as cookies,
are limited to the same hostname.

Example:

www.myhost.com => /html/myhost/www/
www.myotherhost.com => /html/myhost/www/

These two couldn't share the same session, even if they reference the same
physical directory.


-- 
   >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

Reply via email to