Recommended: ASP Cookies Tutorial ASP Cookies tutorial uses to record user browsing and other information, but cookies can only save information to the client, but it is not safe. Many simple votings are used for cookies. The same ASP session, ASP technology cookies are used to store information to specific visitors on your website. This cookie is stored on the user's computer for how long it takes to extend. If the validity period you set is
When you pass information from an HTML form, use the Get method to process the ASP page from the processing, you can retrieve information using the ASP QueryString collection. In the past lessons, we created tizagForm.html to send information tizagGet.asp to process. The following is the HTML code.
<form method=GET action=tizagGet.asp>
Name <input type=text name=Name/>
Age <input type=text name=Age/>
<input type=submit />
</form>
Now we need to build our ASP page tizagGet.asp process to put this data.
QueryString variables of ASP technology
The form of data we want to reside in the QueryString collection of the requested object. Here is an entry for each form input from our HTML form. The key to entering the name attribute of the tag is the input content that needs to be accessed.
Here we create a simple ASP processor that will store contents for every two items in our country QueryString to a variable, and then print the web page of its value.
Save your ASP file as tizagGet.asp and store it in the same directory tizagForm.html.
<%
Dim name, age
name = Request.QueryString(Name)
age = Request.QueryString(Age)
Response.Write(Name: & name & <br />)
Response.Write(Age: & age & <br />)
%>
Share: Guide to IIS Server and web.config configuration optimization 1. Modify the maximum number of IIS work processes a. Please consider the following points: 1. Each worker process consumes system resources and CPU occupancy; too many worker processes will cause a sharp consumption of system resources and CPU utilization; 2. Each worker process has its own state data. If the web application depends on the worker process to save state data, it may not support the use of multiple work.