php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27532 session_id is changed after refresh....
Submitted: 2004-03-08 20:30 UTC Modified: 2004-03-10 09:07 UTC
From: capsx at divx dot team dot lv Assigned:
Status: Closed Package: Session related
PHP Version: 4.3.5RC3 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: capsx at divx dot team dot lv
New email:
PHP Version: OS:

 

 [2004-03-08 20:30 UTC] capsx at divx dot team dot lv
Description:
------------
I installed php4.3.5RC3 and my site stops working.
Found that every time when refresh page session id has changed.
I installed snapshot but problem is the same.
U can test it by pressing 2 different links (2nd uses mod_rewrite) and some time (or wait a little bit and then press again) sessid will be changed.
In my site (http://divx.team.lv/) sessid changes every time when user press on link, and everytime in /tmp is new session_ file sou there is many many files.....:]

session
Session Support 	enabled
Registered save handlers 	files user mm mm

Directive	Local Value	Master Value
session.auto_start	Off	Off
session.bug_compat_42	Off	Off
session.bug_compat_warn	On	On
session.cache_expire	180	180
session.cache_limiter	nocache	nocache
session.cookie_domain	no value	no value
session.cookie_lifetime	0	0
session.cookie_path	/	/
session.cookie_secure	Off	Off
session.entropy_file	no value	no value
session.entropy_length	0	0
session.gc_divisor	100	100
session.gc_maxlifetime	1440	1440
session.gc_probability	1	1
session.name	PHPSESSID	PHPSESSID
session.referer_check	0	0
session.save_handler	files	files
session.save_path	/tmp	/tmp
session.serialize_handler	php	php
session.use_cookies	On	On
session.use_only_cookies	On	On
session.use_trans_sid	Off	Off


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-08 20:36 UTC] capsx at divx dot team dot lv
when u go to http://web.team.lv/test/test.php just press F5
 [2004-03-08 21:18 UTC] iliaa@php.net
Are you using session_regenerate_id() anywhere inside your 
code? 
 [2004-03-08 22:45 UTC] capsx at divx dot team dot lv
nop!
nothing was changed in code, with RC2 all works fine, also i tested one site on my RC3 and the same site (1:1) on other my RC2 server - session id changes everytime...

try http://web.team.lv/test/test.php
in that page below is source...
 [2004-03-08 22:47 UTC] capsx at divx dot team dot lv
sorry :] with site 1:1 on RC2 server all was fine but on RC3 server session id changes everytime when page was refreshed.
 [2004-03-09 08:33 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

I can not reproduce this with latest stable CVS snapshot..

 [2004-03-09 15:55 UTC] capsx at divx dot team dot lv
as i said - I already yesterday installed snapshot but problem is the same...
 [2004-03-09 18:28 UTC] iliaa@php.net
Please include a short script that can be used to replicate 
the problem. 
 [2004-03-10 09:05 UTC] capsx at divx dot team dot lv
strange :]
but now working, only i swear: before i report that bug i search for session bugs and installed snapshot...
ok thx
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Sep 04 12:00:01 2025 UTC