php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25098 Session causing incorrect page rendering.
Submitted: 2003-08-15 10:18 UTC Modified: 2003-08-21 00:01 UTC
From: jon at picresource dot com Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.3.2 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jon at picresource dot com
New email:
PHP Version: OS:

 

 [2003-08-15 10:18 UTC] jon at picresource dot com
Description:
------------
A few weeks ago my ISP upgraded the version of PHP on my hosted system without my knowledge or consent.  (New version 4.2.3) They informed me of the change after the upgrade was complete.  

Since this upgrade I have been experiancing a problem that I can only describe as "web sites being rendered improperly".

I believe the problem is related to sessions or cookies.  My site uses a cookie to track the user's session, (ie, no phpmysessionid in URL) I also store a user's ID in the cookie that I use to gather data that is then stored in their session.

If an anonymous user (ie, no local cookie) surfs to the site the problem does not show, if a regular user (ie. cookie saved in the past) surfs to the site the problem occurs.  If that user reloads the page the problem is gone, if the user reloads after the session has expired the problem occurs again (sometimes sooner).

The problem shows up as web page contents being placed on the page in incorrect locations.  Usually a block of text will be dropped at the top of the page, also blocks of text (and html tags) will be moved from one location to another.  You can imagine how this causes problems on my site.  I have also noted that when the problem occures PHP is inserting "phpmysessionid" into URLs within the page.

Nothing has changed but the version of PHP.

My ISP does not have a clue as to what is going on and is basicly ignorning my attempts to get help.   I have attempted to search for bugs on this site but as I have a tough time describing the problem I also have a tough time searching for it.

Any help?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-15 10:21 UTC] derick@php.net
Ask them to put this in php.ini:
session.use_trans_sid = 0

or put this in a .htaccess (if that is allowed) and see if the problem goes away. If it's not, you really need to urge them to upgrade to 4.3.2 (or 4.3.3 when it's out).

regards,
Derick
 [2003-08-15 10:48 UTC] sniper@php.net
See also session.cache_limiter setting..

 [2003-08-21 00:01 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC