IIS 7 & IIS 8
Communicate from HTTPModule to php application
Last post Jan 01, 2013 09:11 AM by London
Dec 28, 2012 08:32 AM|LINK
is there any possibilty to send information from an HTTPModule to a PHP application hosted in II7?
without using a file as intermediate.
I managed to add or edit values to the HttpRequest.ServerVariables collection in the HTTPModule I've created (e.g. OnBeginRequest)
but this is not seen from PHP ($_SERVER, $_REQUEST).
Thank you in advance,
Jan 01, 2013 09:11 AM|LINK
The server variables you added were stored in httpcontext which is not available in FastCGI application PHP. A native module or ISAPI filter might able to change the raw request header. With a httpmodule, I think you can only pass the information via URL
or query string.