Re: differences in session handling between 4.1.1 and 4.3.1
| From: | Tularis | Date: | Sat, 28 Jun 2003 19:42:02 +0000 |
| Subject: | Re: differences in session handling between 4.1.1 and 4.3.1 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153283@lists.php.net to get a copy of this message | ||
I would also advise to check for register_globals, since I have the faint feeling it was OFF on your old version and ON in your new (though most logcial would be viceversa :P)
Bobby Patel wrote:
maybe compare the php settings for both servers (using phpinfo()). Also check the register globals setting. I know this might not be a big help, but it's a start. good luck Bobby "Anders Thoresson" <listor@thoresson.net> wrote in message news:oprrhrdd0qzzwwoi@mail.darkface.pp.se...Are there any big differences in session handling between 4.1.1 and 4.3.1 of PHP. Almost nothing works like it should since I have moved my sitefrommy local server (4.3.1 on Win2000) to my ISP (4.1.1 on SunOS 5.7). I just started to dump my four $_SESSION-variables on top of every page, and to my big suprise they changes all the time. At login is store the users userid in $_SESSION['u_id']. At later times, I'm working with $_POST['u_id'] when for example changing administrators for different parts of the site. When I'm doing this, also $_SESSION['u_id'] changes. And at my localhost, $_SESSION's stays put. I'm going crazy here. -- anders thoresson