ID: 16263
Comment by: jclewley at netprospex dot com
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:
Try setting cookie_domain in php.ini to a period (.) followed by your
domain. For example, ".google.com". The default typically tells PHP
to use www.google.com which will cause problems if the user types
google.com.
Previous Comments:
------------------------------------------------------------------------
[2006-11-16 18:24:33] tobias dot hug at alpinenet dot ch
I've got the same problem with php 5.1.6.
session data is not maintained between pages.
If I add default_charset = "iso-8859-1"; in php.ini, everything works.
------------------------------------------------------------------------
[2006-11-15 18:58:29] william dot li dot 1983 at gmail dot com
I got the same problem. Callin session.start() create a new
session id and a corresponding file and session data are not
maintained between pages.
------------------------------------------------------------------------
[2006-07-18 22:20:35] cmi at colcenter dot org
May be same problem ..
4.2.3 version, WinXP
Only IE 5 and IE 5.5 After login, any link on the page to a file with
session_start() sets new (empty) session, and therefore am returned to
login page.
IE 6, Opera and Firefox all work correctly.
Adding
php_flag session.use_trans_sid on
to my htaccess fixes it, but would rather not do that.
------------------------------------------------------------------------
[2006-05-20 21:19:24] tony at tuxick dot net
same problem on 5.1.2 and 5.1.4.
php.ini shows ;default_charset = "iso-8859-1", suggesting
it's default.
enabling fixed the problem.
------------------------------------------------------------------------
[2006-05-10 00:40:56] jeroen at haan dot net
Changing the character set from utf-8 to the old iso-8859-1 helped. Now
a session cookie is succesfully stored on the client and thereby the
sessid and thus one file on the server maintained.
However I do not understand this behavior.
------------------------------------------------------------------------
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