Since the antenna network often uses dynamic web technology to make an ASP application, there is generally at least two or more web pages, and you have to consider the processing of data between multiple web pages. The respective pages of the ASP application are similar to the FORM form of the Windows application, and the Windows applications can be implemented by defining a global variable. Data delivery between the webpages has a variety of different ways, and the data transfer mode between the web page selection is appropriate to raise a lightweight effect on the rationality and security of system design and operation.
1, URL method
The URL mode is the most basic method of implementing the Web data delivery, and the operation is simple, and the data delivery between different web pages can be easily implemented, but its security is relatively poor. The data to be passed is attached to the web address (URL). Such as http://www.cstvu.com/testweb?username=liming, where? The string followed by the following is the transferred data, = before the variable name, = after the value, you can use the Request object to get the passed data. Such as: Request ("UserName"). This method is displayed in the URL column during transmission data, and the user can see the submitted content.
2, form
By making a form interaction area on the web, the user enters the data in the browser side, then submitted to the server via the Form, and the corresponding data can be received in the page submitted after receiving the FORM data, that is, the form of the form can be used. Objects to receive the transmitted data.
Such as:
Send a page: