RE: [PHP] session question
| From: | Christensen, BruceX R | Date: | Mon, 07 Aug 2000 18:59:34 +0000 |
| Subject: | RE: [PHP] session question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10518@lists.php.net to get a copy of this message | ||
If you remove the session_start() right now does it work? Or was there
something else that you did between when you added session_start() and when
it quit working that caused it to break?
--Bruce
Bruce Christensen
Intel Corporation
brucex.r.christensen@intel.com
-----Original Message-----
From: Robert J. Cissell [mailto:rcissell@tampabay.rr.com]
Sent: Monday, August 07, 2000 11:56 AM
To: Christensen, BruceX R; PHP List
Subject: Re: [PHP] session question
No luck. Tried putting the protect_id=1 after and before. Tried changing
the print to echo. No go there either.
> You may be able to protect the topic_id by adding a dummy var after it:
>
> <a href="research.phtml?topic_id=<? print($topic_id);
?>&protect_topic_id=1"
> target="main">
>
> --Bruce
>
> Bruce Christensen
> Intel Corporation
> brucex.r.christensen@intel.com
>
> -----Original Message-----
> From: Robert J. Cissell [mailto:rcissell@tampabay.rr.com]
> Sent: Monday, August 07, 2000 11:46 AM
> To: PHP List
> Subject: [PHP] session question
>
>
> I'm using transparent sessions on my web site and it is going well except
> for one page with this code:
>
> <a href="research.phtml?topic_id=<? print($topic_id); ?>"
> target="main">
>
> Instead of having the link show up as:
>
> research.phtml?topic_id=5&PHPSESSID=blahblahblah
>
> I get : research.phtml?topic_id=&PHPSESSID=blahblahblah
>
> Prior to adding the session_start() to the page it worked:
>
> research.phtml?topic_id=5
>
>
>
>
>
> Any help greatly appreciated, thanks in advance.
>
>
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>