Re: Quick Sessions ?
| From: | Ernest E Vogelsinger | Date: | Fri, 04 Apr 2003 20:22:21 +0000 |
| Subject: | Re: Quick Sessions ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142421@lists.php.net to get a copy of this message | ||
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/