Re: PHP4 & sessions Questions
| From: | Stefan Livieratos | Date: | Mon, 26 Jun 2000 16:55:33 +0000 |
| Subject: | Re: PHP4 & sessions Questions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22368@lists.php.net to get a copy of this message | ||
-----Ursprüngliche Nachricht-----
Von: Thomas Deliduka <thomas@neweve.com>
An: PHP-Dev List <php-dev@lists.php.net>
Gesendet: Montag, 26. Juni 2000 18:24
Betreff: [PHP-DEV] PHP4 & sessions Questions
> I have a problem and some questions, if this isn't the list to post to,
> please let me know which one is.
> http://www.domain.com/<? echo $directory; ?>
>
> it works perfectly, it outputs:
> http://www.domain.com/mydirectory/
>
> Well, with --enable-trans-sid on and this auto_start happening I get this
as
> an output:
>
>
> http://www.domain.com/&PHPSESSID=763038de1adfc7bbb955611686a23e65004-20
There were some fixes lately in the transparent SID code. Maybe you
should upgrade as soon as 4.0.1 gets out or get the CVS version.
> It seems that whatever I echo there it is replaced by the session ID. I
have
> a link which links to a Real Audio File:
>
> http://www.domain.com/freel.phtml?raid=<? echo $rafile;
> ?>
> which outputs
> http://www.domain.com/freel.phtml?raid=rafile.ram
> but with this session thing on it gives me:
>
http://www.domain.com/freel.phtml?raid=&SESSIONS=763038de1adfc7bbb955611686a
> 23e65004-20
Please use <? echo "http://www.domain.com/freel.phtml?raid=$rafile&".SID;
?>
instead.
Regards,
Stefan