#26495 [Sus]: Using WebSite Pro 2.5 with ISAPI, cookies are not working

From: Date: Sat, 07 Jan 2006 16:21:28 +0000
Subject: #26495 [Sus]: Using WebSite Pro 2.5 with ISAPI, cookies are not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-91643@lists.php.net to get a copy of this message
ID: 26495 Updated by: wez@php.net Reported By: maura at fastwebnet dot it Status: Suspended Bug Type: Other web server Operating System: win nt4 sp6a PHP Version: 6CVS, 5CVS, 4CVS Assigned To: wez New Comment: Stop assigning this to me; I've unassigned it multiple times. I am not going to do anything about it. Previous Comments: ------------------------------------------------------------------------ [2003-12-02 01:44:23] 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? ------------------------------------------------------------------------ [2003-12-01 20:03:04] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26495&edit=1

« previous php.bugs (#91643) next »