Self Submitting Pages
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 10749
Total Votes: 139 votes
Category: ASP/Form Management
Submitted on: 2008-03-06 23:59:55
Submitted By: Devesh Khanna
Description:A very important coding method to understand when developing ASP pages is the page that submits to itself. This technique is very powerful and can drastically reduce the number of files you have to maintain and the number of places in which you need to make changes when maintaining code. The concept is simple. Using forms, set the action value to the URL of the page in which the form resides. Then use ASP code to determine what the current state of the page, and present the proper output to the user. More detail...