ASP uses
scripting on the server to generate content that is sent to the client's web browser via HTTP response. The ASP interpreter reads and executes all script code between tags, the result of which is content generation. These scripts were written using
VBScript,
JScript, or
PerlScript. The @Language directive, the syntax or server configuration can be used to select the language. In the example below, Response.Write Now() is in an
HTML page; it would be dynamically replaced by the current time of the server. Web pages with the
.asp filename extension use ASP, although some web sites disguise their choice of scripting language for security purposes by using the more common
.htm or
.html extensions. Pages with the
.aspx extension use compiled
ASP.NET; however, ASP.NET pages may still include some ASP scripting. The introduction of ASP.NET led to use of the term
Classic ASP for the original technology. Sun Java System ASP (formerly ChiliSoft ASP) was a popular and reportedly complete emulator, but it has been discontinued.
The Session object Stores variables accessible only to a single visitor, which are local variables. 0 Then Session("name") = Request.QueryString("name") End If Response.Write "Welcome " & Server.HTMLEncode(Session("name")) & "!" %> The session object is file based and multiple concurrent read and/or write requests will be blocked and processed in turn. ==See also==