PHP 4.2.x Problem with sessions WITHOUT cookies
Posted: Thu Oct 10, 2002 5:58 am
Hello, hope someone here can help.
I have some applications which run fine under PHP 4.1.2. After upgrading
the server to PHP 4.2.2 or 4.2.3 I have strange problems with the sessions, which my apps use. I always used the sessions without cookies
(session.use_cookies off or turned off in the browser), and my apps
shall not use cookies at all.
But without enabling cookies my app does not work correct anymore.
The session store is under /var/phpsessions and exists. The app
worked fine before 4.2.x without cookies, only file sessions.
I cannot find out why. As I read, the are no changes in the session code
between 4.1 and 4.2, but register_globals is off by default.
In my apps I need (for now) the register_globals on.
So I set
session.use_cookies off/0
register_globals on/1
Can anyone give me some hints, how to use sessions
without cookies in 4.2.3 ?
Thanks in advance.
I have some applications which run fine under PHP 4.1.2. After upgrading
the server to PHP 4.2.2 or 4.2.3 I have strange problems with the sessions, which my apps use. I always used the sessions without cookies
(session.use_cookies off or turned off in the browser), and my apps
shall not use cookies at all.
But without enabling cookies my app does not work correct anymore.
The session store is under /var/phpsessions and exists. The app
worked fine before 4.2.x without cookies, only file sessions.
I cannot find out why. As I read, the are no changes in the session code
between 4.1 and 4.2, but register_globals is off by default.
In my apps I need (for now) the register_globals on.
So I set
session.use_cookies off/0
register_globals on/1
Can anyone give me some hints, how to use sessions
without cookies in 4.2.3 ?
Thanks in advance.