Bluehost.com Web Hosting $6.95

RE: [PHP] ob_start and transparent sessions 4.3.2

This is a discussion on RE: [PHP] ob_start and transparent sessions 4.3.2 within the PHP General forums, part of the PHP Programming Forums category; Hi, I too am running PHP4.3.2 and never took any notice about the session id's being appended ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-26-2003
Wouter Van Vliet
 
Posts: n/a
Default RE: [PHP] ob_start and transparent sessions 4.3.2

Hi,

I too am running PHP4.3.2 and never took any notice about the session id's
being appended and stuff .. after reading your message I got a little
alarmed, since I'm also using output buffering. So, I turned off my cookies,
restarted my browser and saw that indeed no session id's were appended. Now,
when I checked php.ini, the value appeared to be '0'. That was quite an
explanation. I changed it to '1' and it all worked.

Maybe this makes your problem a little weirder.. But the problem is not on
the PHP version. You might want to check if session.use_trans_sid is really
set to 'On'. If it is, try changing it to '1', restart apache and see if it
works now. Also, check if your cookies are turned off, since with them
turned on, there's no need for php to add the session ID and thus it won't
happen.

Wouter

-> -----Oorspronkelijk bericht-----
-> Van: Miek Lohmann [mailto:mike@werk01.de]
-> Verzonden: vrijdag 22 augustus 2003 18:41
-> Aan: php-general@lists.php.net
-> Onderwerp: [php] ob_start and transparent sessions 4.3.2
->
->
-> Hi,
->
-> I've got a strange problem with enabled transparent sessions
-> for my scripts.
-> Before upgrading to PHP 4.3.2 I could use output buffering
-> (ob_start()) and
-> sessions without problems. Meanwhile with this new version the
-> PHPSESSID is
-> NOT appended to any link like html - tag (a href or something
-> like that).
->
-> I found a solution by writing my own session-handling and using regular
-> expressions to append the session-id to any link, after outputting the
-> content of the buffer, but this is not a really good solution, I think.
->
-> (Btw. session.use_trans_id is on ;))
->
-> Has someone found a solution or has had an equal problem with 4.3.2?
->
->
->
-> Thanks.
->
-> Mike
->
->
-> Mike Lohmann
->
-> [werk01]
->
->
->
->
-> --
-> PHP General Mailing List (http://www.php.net/)
-> To unsubscribe, visit: http://www.php.net/unsub.php
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:41 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0