Category: 

What is ASP Programming?

Article Details
  • Written By: David White
  • Edited By: Niki Foster
  • Images By: Ivailo Milenkov, Gunnar3000
  • Last Modified Date: 01 December 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
External Resources
Free Widgets for your Site/Blog
President Richard Nixon had an entire speech prepared in case the Apollo 11 astronauts became stranded on the Moon.  more...

December 8 ,  1965 :  Pope Paul VI promulgated Vatican II into ecumenical law.  more...

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: <%=.

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.

Ad

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.

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.

Ad

You might also Like

Recommended

Discuss this Article

anon303730
Post 5

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
Post 2

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

anon9479
Post 1

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

Post Anonymously

Login

username
password
forgot password?

Register

username
password
confirm
email