ID: 16263 Comment by: chris dot kerrison at farrendale dot co dot uk Reported By: kur at natur dot cuni dot cz Status: No Feedback Bug Type: Session related Operating System: ANY PHP Version: 4.3.0-dev New Comment:
Hello, I have theis session problem, tried everything on this page not still wont work. Is anyone else having the problem still?? I have 2 servers, one it works fine on and the other it fails, they use the same settings, and have tried differant versions, yet it still fails on the 2nd server. Ho many people here are running it on a server with a " _ " in the computer name? that to me seems the only thing differant between the computers with my setup. Previous Comments: ------------------------------------------------------------------------ [2008-09-12 23:42:19] robin dot chauhan at gmail dot com As noted on http://www.kirupa.com/forum/showthread.php?t=288773 "After 10 hours of searching over 2 days, I figured it out. The UTF-8 encoding was placing invisible characters before my <?php tag, thus throwing an error (which I couldn't see because my server host's debug doesn't show). Switching to ANSI removed those characters and thus the session_start() functioned properly this time, giving me a consistent session ID. Thanks to those who helped." ------------------------------------------------------------------------ [2008-06-26 10:50:29] karst at spectraweb dot nl I have apache/php configured to run as another user then "apache". I tried to install php-xml and yum updated php, setting the owner of the directory where the sessions are stored to "apache", NOT MY USER! This worked for me: to check if this was the problem I did a chmod 777 to session directory - and: it worked again I changed the owner of the session directory to my apache user, chmodded session directory to the initial 770 - and yay: it worked. ------------------------------------------------------------------------ [2008-06-02 12:45:16] shashibanzal at hotmail dot com While running a programme as a login for librarian, if the name of programme is changed in the URL, it switches to the pgm entered now and the borrower can perform all functions of librarian. This is not correct. Session start has been used. ------------------------------------------------------------------------ [2008-05-25 21:59:47] gsimanton at gmail dot com I found this on the php.net session page, and it worked for me: <b> johnlonely at gmail dot com<b> 12-Oct-2005 02:32 Everytime I upgrade PHP to a new version, I used to recompile the php.ini file. Everytime I create a website, I always kept the php.ini file so that in the future I would be able to retrieve some Unique properties of the php version I used. So the last php version I've seen where session is sticking is version 4.2. I've been trying for two days with no luck searching the manual and forum, when I tried something : If you guys always fill the session.cookie_path = / to somewhere you the cookies should go, then leave the fuss. You'll save two days! Leave it be! [Session] session.cookie_path = / Happy sticking sessions. ------------------------------------------------------------------------ [2008-05-20 11:27:30] moi at discardmail dot com I have the same problem on: Windows XP, Apache 1.3 PHP 5.2 But only in IE6. I have set all security setting s in IE6 to lowest and the script <? session_start(); print session_id(); ?> still generates new session on every page load. The same script, the same server and FF2 or IE7 work right. Any ideas? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16263 -- Edit this bug report at http://bugs.php.net/?id=16263&edit=1
