The debugging ASP program is converted into components in VB
February 3, 2001
In the "VB and Basic Area" in the NetEase virtual community, there is an article "Use VB to write a pure ASP program [to] [Technolog]. In fact, I think the best way should be:
The definition in the original text is as follows:
dim m_objresponse as response
In fact, for the .dll we wrote .dll, it was not very good, or when the program was required to debug the program, especially when we made the. TheASP program that had been approved to be passed. The standard component name is used in the ASP program. The default component is named Response, Request, etc. The quotation adds M_OBJ in the front. If this sentence is used in the program, the corresponding change must be made. This will bring a large workload. There is no improvement of the readability of the program. Therefore, the best way is to define the following:
dim context as objectContext
DIM Server as Server
Dim Request As Request
dim session as session
dim response as response
Of course, there will be later
Private sub class_initialize ()
set context = getObjectContext ()
set server = context (server)
set request = context (request)
set response = context (response)
set session = context (session)
end sub
Initialization.
It has been proven that it is feasible.