php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39250 Session problem on PHP using authentication on Windows 2003 IIS 6.0
Submitted: 2006-10-24 23:48 UTC Modified: 2006-10-26 20:52 UTC
From: gutosantos82 at gmail dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 5.1.6 OS: Windows 2003
Private report: No CVE-ID: None
 [2006-10-24 23:48 UTC] gutosantos82 at gmail dot com
Description:
------------
Using PHP 5.1.6 on Windows 2003 / IIS 6.0 through isapi_fcgi and enabling IIS to use Integrated Windows Authentication without anonymous access. The PHP server create one session file for each .php file that is accessed by the Broswer, not allowing the use of sessions. The Broswe Client is IE and by default is using Kerberos authentication AUTH_TYPE = Negotiate.

The problem of not complience hostname that create this same problem was not considerated because the hostname doesn?t contain invalid charatcers. 

Other problem in this environment is that the PHP sometimes doesen?t receive from the server some $_SERVER variables like HTTP_USER_AGENT and ALL_HTTP.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-25 09:01 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-10-25 13:11 UTC] gutosantos82 at gmail dot com
In according to Bug #37448 "FastCGI Error: Server too busy Server " it?s not possible to upgrade for newest version using fastcgi on Windows.
 [2006-10-25 13:20 UTC] tony2001@php.net
Did you really try the snapshot?
 [2006-10-25 13:57 UTC] gutosantos82 at gmail dot com
Yes, but really the fastcgi problem didn?t came up. But the others two problems: sesssion doesn?t work and HTTP_USER_AGENT at phpinfo() doesn?t appear. I checked if HTTP_USER_AGENT works in the app and seams to work. Just need to resolve the session problem.
 [2006-10-25 14:10 UTC] gutosantos82 at gmail dot com
Just to confirm, the fastcgi problem "Server Error, unable to connect to fastcgi server." still happens.
 [2006-10-25 14:31 UTC] gutosantos82 at gmail dot com
Using diretly php5_isapi.dll the session and HTTP_USER_AGENT problem seems to be resolved. But makes the application very unstable.
 [2006-10-26 20:52 UTC] tony2001@php.net
We can't fix something which is not a part of PHP itself.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 12:01:27 2024 UTC