Google Answers Logo
View Question
 
Q: C++ ISAPI Filters: How to read 'get' mode parameters? ( No Answer,   0 Comments )
Question  
Subject: C++ ISAPI Filters: How to read 'get' mode parameters?
Category: Computers > Programming
Asked by: scm6079-ga
List Price: $25.00
Posted: 28 Jul 2003 16:22 PDT
Expires: 11 Aug 2003 17:55 PDT
Question ID: 236311
How do I access the get mode parameters from an ISAPI *filter* (not
extension) in Visual C++ 6.0?   For example, with the URL
  http://mysite.com/index.php?abc=123

I am looking for the "abc=123" part.  

Ideally, I need to access the parameters from the function:

DWORD CMyClass::OnPreprocHeaders(CHttpFilterContext* pCtxt,
PHTTP_FILTER_PREPROC_HEADERS pHeaderInfo)

I can read the URL by doing:
  pHeaderInfo->GetHeader(pCtxt->m_pFC, "url", szUrl, &dwUrlSize);

And the cookies by doing:
  pHeaderInfo->GetHeader(pCtxt->m_pFC, "Cookie:", szCookie,
&dwCookieSize);

Thanks!
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy