php.net |  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
Votes:4
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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: maura at fastwebnet dot it
New email:
PHP Version: OS:

 

 [2003-12-01 20:03 UTC] maura at fastwebnet dot it
Description:
------------
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 192.168.0.1 **
REQ: m=GET u=/prova/provaphp.php a= p= 
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
Host: www.mysite.net
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-02 01:44 UTC] wez@php.net
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: Mon Dec 30 14:01:28 2024 UTC