Solved

ISAPI

Posted on 1998-07-16
4
186 Views
Last Modified: 2013-11-18
How doI recive the data that the user has enterd...
I would like to use somthing similar to ASP....Requset.Form("object")
0
Comment
Question by:anas2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:dst
ID: 1167922
If you have created the form properly in the html-file the data will be put together in a character-string and send in the EXTENSION_CONTROL_BLOCK as lpszQueryString.

0
 
LVL 23

Accepted Solution

by:
chensu earned 200 total points
ID: 1167923
If the HTML form uses the GET method, the lpszQueryString member of EXTENSION_CONTROL_BLOCK structure contains the data. If the HTML form uses the POST method, call the ReadClient function to retrieve the data. Of course, it is not so straightforward as ASP. You have to parse the data. You may extract the parsing code from some CGI libraries.
0
 
LVL 23

Expert Comment

by:chensu
ID: 1167924
Using Command Parsing Map provided by MFC makes your life easier.
0
 

Author Comment

by:anas2
ID: 1167925
Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question