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.
Marked as answer by Leo Tang - MSFT on Jan 06, 2013 09:51 AM
asasamihai
1 Post
Communicate from HTTPModule to php application
Dec 28, 2012 08:32 AM|LINK
Hello,
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,
asasamihai
London
345 Posts
Re: Communicate from HTTPModule to php application
Jan 01, 2013 09:11 AM|LINK
Hi,
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.