Internet
Fact-checked

At EasyTechJunkie, we're committed to delivering accurate, trustworthy information. Our expert-authored content is rigorously fact-checked and sourced from credible authorities. Discover how we uphold the highest standards in providing you with reliable knowledge.

Learn more...

What is ASP Programming?

David White
David White

Active Server Pages (ASP) programming is writing code to facilitate ASP functionality on websites. Such functionality includes the delivery of dynamic, database-driven content to website viewers without taxing the server-side system. ASP programming involves writing ASP files and HTML files. The ASP code is placed within the HTML pages, enclosed in special tags. When you need to make changes in the code, you need to change only the ASP files; the HTML files, which do nothing but go and get the ASP files' coding, need not be changed.

ASP files have a file extension of .asp, much like HTML files have file extensions of either .htm or .html. The HTML files that contain the ASP instructions enclose those instructions within tags that look like this: <% and %>. Notice that unlike HTML, the ASP ending tag does not include a slash. To send the results of an ASP instruction directly to a browser, you add an equals sign: <%=.

Real estate websites may benefit from ASP programming that allows users to upload image files to the site.
Real estate websites may benefit from ASP programming that allows users to upload image files to the site.

ASP programming involves scripting in Visual Basic Script, Jscript, Perl, Python, or other languages. Certain modifications are necessary, but the programmer who has written code in these other languages will find ASP programming to be familiar indeed. The two languages that work the best for this type of programming are VBScript and Jscript.

One common use of ASP programming is to gather data from the user and display it at another time. For example, you can use ASP programming to query the user to type in his or her name and then display that name on subsequent pages during the user's visit. Once the name is input, the programming protocols transfer that data to the requisite database, from which it can be accessed by other HTML pages that contain the coding guiding such requests. Such data requests and displays can be as complex as you want to make them.

ASP code is placed within HTML pages to facilitate website functionality.
ASP code is placed within HTML pages to facilitate website functionality.

Written data isn’t the only thing that can be uploaded to your website using ASP programming. You can design forms that allow users to upload image files to your site as well. Real estate websites are perfect examples of sites that can take advantage of this functionality.

ASP programming also comes in handy when your HTML pages and what they display involve accessing large databases containing tons of data. In this case, you will really appreciate the benefits of not having to change HTML files when you update the parameters of your databases. ASP programming makes this process simple.

Discussion Comments

anon303730

You can use cookies to store details. You give a special code for information like the name. When you start, you can put StrNamecookie = Request.Cookies("name")

anon10877

I would also be keen to know how to transfer html form-mail entries directly into an online database for general viewing

anon9479

Hello Sir,

I am new in asp programing and i would like to ask that i have a html page and in that there is a form and now i want that whenever any user submit this form, after submitting this form, the input data should come to my computer's database?

Now please tell me that what application should i have on my computer to do this?

Please make hurry

Thank you

Post your comments
Login:
Forgot password?
Register:
    • Real estate websites may benefit from ASP programming that allows users to upload image files to the site.
      By: Ivailo Milenkov
      Real estate websites may benefit from ASP programming that allows users to upload image files to the site.
    • ASP code is placed within HTML pages to facilitate website functionality.
      By: gunnar3000
      ASP code is placed within HTML pages to facilitate website functionality.