Recommended: ASP request.from tutorial Changing our HTML form When we start creating a new ASP file, we want to change our tizagForm.html file to use the POST method and form to transfer data to different ASP pages. The following example provides the latest codename tizagForm.html. form method=POST action=tizagPost.asp Name input type=text name=Name/ Age
The ASP Application object is a specific ASPApplication program used to share information between all users. All ASP files are in a virtual directory in IIS part of the same ASPApplication program.
The Application.Contents collection contains all items, and also adds commands for ASPApplication objects and ASP scripts.
The Application.StaticObjects collection contains all objects and adds the <OBJECT> tag of the ASP Application program object.
You can store variables and include them in Application.Contents collection methods as follows:
Application (otalApplicationUsers) = 255
You can read and display a variable stored in the Application object and have the following ASP code:
Response.Write Application (otalApplicationUsers)
Always remember that ASPApplication programs for all users are shared between Application objects.
2 The main object methods of ASP Application Application.Lock and Application.Unlock. The ASPApplication program objects are common to all users of the ASPApplication program, which ensures that no more than one user can change a variable stored in the Application object at any specific moment.
Here is how to use the Application.Lock and Application.Unlock methods to change a variable stored in the Application object:
Application.Lock
Application(otalApplicationUsers) =Application(otalApplicationUsers) + 1
Application.Unlock
Share: Asp querystring tutorial 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 n