|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26495 Using WebSite Pro 2.5 with ISAPI, cookies are not working
Submitted: 2003-12-01 20:03 UTC Modified: 2008-11-27 02:08 UTC
Avg. Score:4.2 ± 0.8
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: maura at fastwebnet dot it Assigned:
Status: Wont fix Package: Other web server
PHP Version: 6CVS, 5CVS, 4CVS OS: win nt4 sp6a
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-12-01 20:03 UTC] maura at fastwebnet dot it
I use O'Reilly WebSite Pro 2.5 and php4isapi.dll

All is working but no cookies are sent to browser.

Changes made in php.ini-recommended are:
doc_root = "c:\webroot"

Reproduce code:
<?php setcookie ("testcookie","text",time()+3600); ?>

Expected result:
That cookie is sent to the browser

Actual result:
server.log report:

** REQUEST from **
REQ: m=GET u=/prova/provaphp.php a= p= 
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/, application/msword, application/, */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
Connection: Keep-Alive
Cookie: userid=maurissia; passw=maurissia; w=110099120118110121122113106

Request decoding complete...
node=C:/Siti/Mokadom/prova/provaphp.php: params= args=
Calling ISAPI/ISA C:\PHP\sapi\php4isapi.dll
[ISAPI] url  "/prova/provaphp.php"
[ISAPI] args ""
Associated ISA, using bogus MS path info
ISAPI: ServerSupportFunction() called with unknown opcode 1012
ISAPI: ServerSupportFunction() called with unknown opcode 1016


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-02 01:44 UTC]
Those two opcodes are MS specific ISAPI codes to determine
the webroot and send headers respectively.

Currently, our ISAPI module relies on the web server implementing those opcodes.

It shouldn't be too difficult to use the traditional HSE_REQ_SEND_RESPONSE_HEADER opcode as a fallback for
the latter code.

Speaking for myself, I don't have the time to do this,
but I don't expect it to take much more than an hour or
so to implement; maybe one of the other isapi guys
has the time?

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 07:01:29 2024 UTC