Sessions and Apache problem

From: Date: Fri, 03 Dec 1999 19:49:36 +0000
Subject: Sessions and Apache problem
Groups: php.version4 
Request: Send a blank email to php-version4+get-7359@lists.php.net to get a copy of this message
Hi, i'm fighting with this problem and I don't know what else could it be the reason. Here it is. I have compiled PHP4 --with-oracle --with-apache --enable-track-var --enable-trans-sid I 'm using Apache 1.3.9 in a Linux Box RedHat 6.0, no problem till here. The problem is this: my starting page is a_index.php, wich has a few links to other pages also php. At the top, I have this code session_register("SESSION_USERNAME"); session_register("SESSION_PASSWORD"); session_register("SESSION_IDUSERNAME"); Ok, now a_index.php has a link to a_hello.php wich is just a foo page. If I try to follow this link, this is what I get in the status bar of my IE 5.0 http://192.168.1.254/test/a_index.php?PHPSESSID=748678a8e568a79c8de90c0aeb8f 6038 I mean, Apache is rewriting all of my html links to the same page BUT with the PHPSESSID added. If I follow this links, I get to the same page, a_index.php but this time the links are all ok. Could anyone please help, or just aim me to get the solution? My php.ini file is the default one. Thansk in advance for your collaboration. Alejandro Navarro anavarro@bumeran.com

« previous php.version4 (#7359) next »