php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16274 Session is not disconnected.
Submitted: 2002-03-25 20:04 UTC Modified: 2002-04-03 09:53 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: pansory at netian dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.1.2 OS: Linux 7.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pansory at netian dot com
New email:
PHP Version: OS:

 

 [2002-03-25 20:04 UTC] pansory at netian dot com
I use apache 1.3.23 / php 4.1.2 / mysql 3.23.49 / Zend Optimizer v1.2.0 with Redhat 7.1.

phpinfo list are below,

Configure Command  './configure' '--with-mysql=/usr/local/mysql' '--with-apache=../apache_1.3.23' '--enable-track-vars' 
Server API Apache 
Virtual Directory Support disabled 
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini 
ZEND_DEBUG disabled 
Thread Safety disabled 

php.ini list below,

session.save_handler = files 
session.cookie_domain = 
session.serialize_handler = php 
session.gc_probability = 1 
session.gc_maxlifetime = 1440 
session.referer_check = 
session.entropy_length = 0 
session.entropy_file = 
session.cache_limiter = nocache 
session.cache_expire = 180 
session.use_trans_sid = 1 
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" 

First I loged in by session, and close browser.
Then I reconnect, session still alive with login ID and Password.
I restart my server computer and my personal computer, but session are still alive.

Sometime session disconnect, but Sometime are not.

You can test here http://pansory.pe.kr with UserID : 1111
and password 1111.
phpinfo URL is http://pansory.pe.kr/php.php

I found someone who are same exprience with me.
One use php 4.1.1 and the other use 4.1.2

I also expriece this situation with win2K server. with php versoion 4.1.2

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-26 08:00 UTC] sander@php.net
This is very likely to be a problem with your browser anad not with PHP. Which browser do you use, and can you try other browsers?
 [2002-03-26 09:10 UTC] pansory at netian dot com
Thank you for your feedback.

I test it Netscape Communicator 4.79 and MS Internet Explore 5.5.

But the result is same.

Both of browsers still have session value even they are restarted.

Tomorrow I will test with MS Internet Explore 6.
Now 11 P.M. my local time ^^.

I test it with 8 computers.
Three is win2K professional with MS IE 5.5,
Three is win2K server with MS IE 5.5,
Two is Linux 7.1 with Netscape.

I setting up two server with Linux 7.1 useing php 4.1.2
But today I reset one server with php 4.0.6 for test.
This server what setting with php 4.0.6 works very well all my testing computer.
 [2002-03-27 16:20 UTC] jpnoat at uriel dot mc
We just notice the same problem for our web site (www.monaco-spectacle.com). The only solution we found was to come back to 4.06 then the session stops again.

We work on Sun Cobalt 4i with their last version of OS.
 [2002-03-27 19:27 UTC] pansory at netian dot com
I test MS IE 6.
Session is not disconnect..
How can I slove it?
 [2002-04-03 09:53 UTC] yohgaki@php.net
You may have deep session.save_path.
Try to set session.save_path to "/tmp".
(Did you try session session_unset() and session_destroy()?)

BTW, even if you restart your server/client, session data will be kept in files/database/etc. Therefore, session values are restored.

If you are using mm, save handler restarting server will delete session data since mm use memory to save session data.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 15:01:33 2024 UTC