ISAPI + ServerSupportFunction + Response Headers RSS

2 replies

Last post Mar 25, 2019 02:51 AM by Jalpa Panchal

  • ISAPI + ServerSupportFunction + Response Headers

    Mar 23, 2019 05:16 PM|iis_dave|LINK

    Is ServerSupportFunction the only way to send back a header?

    When using CGI I normally send:
    "200 OK"
    "Content-type: text/html"
    \r\n\r\n
    "<HTML>"  ....

    If ServerSupportFunction is the only way to send back a header - do I call it over and over for each header?
    OR
    Do I make the header into one string of data containing many headers and send it once?

    When would you ever use HSE_REQ_ DONE_WITH_SESSION?

    Would returning HSE_STATUS_SUCCESS from HttpExtensionProc do the same thing?? 


     

  • Re: ISAPI + ServerSupportFunction + Response Headers

    Mar 23, 2019 11:05 PM|iis_dave|LINK

    It looks like the answer is concatenate the headers plus \n or \n\r after each header value.

  • Re: ISAPI + ServerSupportFunction + Response Headers

    Mar 25, 2019 02:51 AM|Jalpa Panchal|LINK

    Hi iis_dave,

    Is your issue solved?

    If your issue is solved then I suggest you to post your solution and mark it as an answer.

    If your issue is still exist then try to refer the solution given by the community members.

    If then also you have any further questions then let us know about it.

    We will try to provide further suggestions to solve the issue.

    Thanks for your understanding.

    Regards

    Jalpa.

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.