ID: 36227 User updated by: rperezm at estudiantes dot uci dot cu -Reported By: reynierpm at gmail dot com +Reported By: rperezm at estudiantes dot uci dot cu Status: Open Bug Type: Session related Operating System: Windows XP SP2 PHP Version: 5.1.2 New Comment:
Before all my apology if I not understand how to publish a valid bug. The problem is next: few days ago I have PHP 5.1.2, Apache/2.0.55 (Win32) mod_ssl/2.0.49 OpenSSL/0.9.8a and Windows Server 2003 Enterprise Edition. In this PHP works fine. Now I need to migrate my PC to a Windows XP SP2. I install PHP following the same procedure that I follow to install in Windows 2003. Now programming a web site that need to use SSL and I configure Apache to support it. In php.ini I not change anything, only uncommented some extensions needed: php_gd.dll, php_mysqli.dll (not include in PECL PHP5.1.2) if not downloaded recently from MySQL site. When I navigate with Firefox browser in site one session var is created. But surprise every time I call a page from the same browser and same tab a new empty session is created. I was believe that my application is wrong. So I check some concept for session in PHP Manual, but not the error is not my app. Well, after that I close my browser and stay some minutes in sessiondata folder and I see that every "x" seconds a new empty session var is created. So if I not have a browser open and I not navigate in site why this? This is my php.ini session config: [Session] session.save_handler = files session.use_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = serializer of PHP. session.serialize_handler = php session.gc_probability = 1 session.gc_divisor = 100 session.gc_maxlifetime = 1440 session.bug_compat_42 = 1 session.bug_compat_warn = 1 session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 0 session.hash_function = 0 session.hash_bits_per_character = 4 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" session.save_path= D:\Server\PHP\sessiondata ; argument passed to save_handler So, waiting for yours Previous Comments: ------------------------------------------------------------------------ [2006-01-31 16:44:50] reynierpm at gmail dot com What extra information you ned for? php.ini and httpd.conf or what? ------------------------------------------------------------------------ [2006-01-31 14:24:22] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2006-01-31 14:19:42] rperezm at estudiantes dot uci dot cu Description: ------------ Well, after all I don't know is this is a bug or not. Is just a report or a problem I have with my PHP. The problem is that PHP store session vars automatically in a directory without any call or session work. I have PHP 5.1.2, Apache/2.0.55 (Win32) mod_ssl/2.0.49 OpenSSL/0.9.8a and Windows XP ServicePack 2 installed and configured. Few day ago I watch a strange behaviour in my PHP. The cause is that session vars stored by default in PHP install dir \ session_data are created withouth any call. This mean that I have not any browser open and I not working with PHP at this moment. I not know if the cause can be a bad Apache configuration or something like that. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36227&edit=1