Solved

ISAPI

Posted on 1998-07-16
4
183 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
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

820 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