Questions tagged [asp-classic]

Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script-engine for dynamically-generated web pages. The introduction of ASP.NET led to use of the term Classic ASP for the original technology.

Initially released as an add-on to Internet Information Services (IIS, formerly Internet Information Server) via the Windows NT 4.0 Option Pack, it was subsequently included as a free component of the Windows Server Operating System (since the initial release of Windows 2000 Server).

ASP 2.0 provided six built-in objects: Application, ASPError, Request, Response, Server, and Session. Session, for example, represents a cookie-based session that maintains the state of variables from page to page. The Active Scripting engine's support of the Component Object Model (COM) enables ASP websites to access functionality in compiled libraries such as DLLs.

ASP 3.0 provided some enhancements to the 2.0 version, including the Server.Transfer method, Server.Execute method and an improved ASPError object.

ASP supports multiple scripting languages, including VBScript (by default), but there are other options. An alternative Active Scripting engine can be selected with the @Language directive or the syntax. JScript (Microsoft's implementation of ECMAScript) is the other language that is built-in. PerlScript (a derivative of Perl) and others are available as third-party installable Active Scripting engines.

Though ASP is considered to be an old technology (first version released on December 1996, last version released on November 2000), the use of ASP pages is still supported today (November 22nd 2018).

According to Active Server Pages (ASP) support in Windows page on support.microsoft.com:

...The use of ASP pages with Microsoft Internet Information Services (IIS) is currently supported in all supported versions of IIS.

IIS is included in Windows operating systems, and therefore both ASP and IIS support lifetimes are tied to the support lifecycle of the host operating system. Visit Microsoft Lifecycle Policy for information about the lifecycle policy of your operating system.

11473 questions
2
votes
1 answer

JQuery: getting values from submitted modal dialog

I'm just starting to use JQuery, and I'm editing the modal popup example within a classic asp page. I've gotten the form to work, and added a submit line, but after the submit I try to get the submitted values with asp using request.form("email")…
Cineno28
  • 889
  • 1
  • 22
  • 41
2
votes
1 answer

Classic asp include virtual with backslash doesn't work on IIS7.5 (works with slash)

We have this classic asp application that I tried to install on IIS7.5 (Windows 2008 Server R2). Everything works except that include virtual statements with backslash, e.g. doesn't work even though I…
Mathias Rönnlund
  • 4,078
  • 7
  • 43
  • 96
2
votes
2 answers

How to send array from classic asp to table in php page?

I am doing SQL query in ASP page, and getting a 100 rows and 7 columns of data. For example, I read from the query string in my URL or the form I submitted as POST / GET, I got this: " myexample.com/order.php?month=2012-03 ", I use the " 2012-03 "…
PGoldHow
  • 139
  • 4
  • 16
2
votes
5 answers

legacy (classic) ASP code session issue

My question is about classic ASP, not ASP.Net. I ask expert here since search engine always tell me ASP.Net answers. My confusions are, How to set session expiration time in classic ASP code or through configuration? How to extend session expire…
George2
  • 44,761
  • 110
  • 317
  • 455
2
votes
1 answer

How to see the actual server side error message in the browser?

I'm having a trouble reproducing an issue a user is having in IE, but something that always bugged me is how can I see the error message from classic ASP page in IE for example on a dev server. In IE all I see is for example: This page contains…
StevieB
  • 6,263
  • 38
  • 108
  • 193
2
votes
2 answers

looking for some ASP session management tutorials

I need some tutorials or samples which cover the following topics, does anyone have any recommendations? For ASP.Net, how to manage session and especially manage correctly when there is large number of concurrent user requests, access session and…
George2
  • 44,761
  • 110
  • 317
  • 455
2
votes
4 answers

asp classic formatcurrency displaying ? as the thousand separator when it's loaded via jquery load() function

I just changed a classic asp page to load a div with some data via jquery.load This calls another classic asp page that returns the contents of what should be in the div. The code does looks like this: <%=…
Nils
  • 1,237
  • 3
  • 11
  • 28
2
votes
1 answer

IIS: web.config redirect to another url preserving the original one in the address bar

I'm trying to understand how to do this, but seems very complicated (at least for someone like me having no experience with IIS but only Apache). I'm porting a website from Linux to a Windows server, and on linux server I have an .htaccess that…
opoloko
  • 347
  • 5
  • 13
2
votes
6 answers

In Classic ASP, are there major performance consequences of having several connections open and close?

I have a code snippet similar to the one below that I would like to refactor into two different functions each with their own connection (for better maintenance): Dim Conn, Sql, RS Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open…
PropellerHead
  • 929
  • 1
  • 12
  • 27
2
votes
1 answer

Classic ASP / Round() - Show Numbers 10,000+ as 10K

Like on Stack Overflow's reputation points, if a number is greater than ten thousand, they show it as 10.3K, to save space. Do I achieve this using the Round function or is better to use some kind of string manipulation?
TheCarver
  • 19,391
  • 25
  • 99
  • 149
2
votes
6 answers

Create a Phone Application base on an Asp webApplication

I have to develop a phone application on every platform so I thought of using phonegap. Seems pretty nice. I have a web application coded in classic Asp and it's this webApplication that I need to strip down to be a phone app. At first I thought it…
GregM
  • 2,634
  • 3
  • 22
  • 37
2
votes
1 answer

Preventing caching of server side include files

I have a classic ASP page that calls in some other ASP files using Server Side Includes. I want neither the main file nor the included files to be cached by any browser. At the moment my main looks something like this: <%@ Language="VBSCRIPT" %><%…
David
  • 1,005
  • 1
  • 10
  • 12
2
votes
2 answers

KeyUp event not firing in Firefox, but works fine in IE

This code works fine in IE but not FF. Looks like regular expression match function is not working correctly in FF. Please see the code below. Function restrictData always retuns true. protected void Page_Load(object sender, EventArgs e) { …
harishom
  • 33
  • 5
2
votes
1 answer

Web application print button behaving differently for IE8 on different client stations

I have a asp web application. It has a print button with print.css stylesheet. The print.css is very basic and just sets divs having images to style display none. We all have virtual machines with ie8 installed as the main browser. When I select…
Abbi
  • 607
  • 3
  • 12
  • 23
2
votes
2 answers

Classic ASP: how to convert a RecordSet to json notation using AXE json implementation

i'm doing an application with ajax using jQuery and some other tools, and in some part i want to retrieve data with ajax using a classic ASP backend, i saw that exists a good implementation of a JSON class in AXE (Asp extreme edition) framework, and…
Rafael
  • 3,081
  • 6
  • 32
  • 53