RE: [PHP] Sessions not remembered through pages
| From: | Sascha Schumann | Date: | Fri, 06 Oct 2000 14:47:20 +0000 |
| Subject: | RE: [PHP] Sessions not remembered through pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18890@lists.php.net to get a copy of this message | ||
On Fri, 6 Oct 2000, Boget, Chris wrote:
> > are enabled. If you're worried about those who turn off
> > cookies, either tell them they need cookies, or --enable-trans-id.
>
> I have this compiled into our php4.0.2 and it does NOT
> work. Nothing is appended to the end of my url. Here
> is some of the more relevant information as reported by
> phpinfo()
>
> PHP Version 4.0.2
> System SunOS lion 5.8 Generic_108528-01 sun4u sparc sun4u
> Build Date Oct 5 2000
> Configure Command './configure' '--with-mysql=/usr/local'
> '--with-xml' '--with-apache=../apache_1.3.12'
> '--enable-track-vars'
> '--enable-trans-sid'
>
> Is there anything I need to do in my code to tell PHP to
> send through the SID automatically?
The URL rewriter only kicks in, if the session was started.
So, either you call session_start() in a prepended script
(auto_prepend_file) or start sessions automatically
(session.auto_start).
- Sascha