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
3
votes
1 answer

Parsing JSon in Classic ASP with ASP Xtreme Evolution

I'm working on an classic ASP-project and I use ASP Xtreme Evolution to parse JSon data (found here: http://zend.lojcomm.com.br/entries/classic-asp-json-revisited/) Anyway... I'm getting most of the JSon-data correctly but now I'm stuck on an Array.…
Rreh
  • 33
  • 1
  • 4
3
votes
1 answer

Javascript being printed instead of ASP (classic) output

I'm trying to make a page that lists records, and allows to show a form to edit a value. It reloads the page with "?edit=true" added to the end so it knows to pull the data into a form, rather than list all entries. I did this after loading it in an…
Citrus Rain
  • 119
  • 1
  • 4
  • 16
3
votes
3 answers

Why am I getting Data provider or other service returned an E_FAIL status? SQL Native Client

I'm switching our ASP code to use SQL Native Client so that we can connect to a mirrored database with a failover partner, since you can only supply the failover partner parameters in SQL Native Client. When I run a proc that returns an…
Brian White
  • 1,265
  • 1
  • 10
  • 16
3
votes
2 answers

Make server automatic run asp-script every day

Is it possible to create a batch-file which opens firefox, runs a website and then closes firefox again? Something like: @echo off start firefox http://..... This is where I am stuck... It needs to close firefix again when the website is finished…
MicBehrens
  • 1,780
  • 8
  • 34
  • 57
3
votes
2 answers

ASP Classic - Parse XML InnerXML

I like to be able to parsing the value like asp.net, unfortunately the asp classic also return the tag like the
everything within it
tag. I am trying to parse the path "/root/div" and return everything within it, not including the…
James Smith
  • 127
  • 2
  • 6
3
votes
4 answers

Finding connection strings in code programmatically

Seems like a fairly straightforward problem. I want to look through about 6gb of content and classic asp code and find anything that looks like a connection string. Problem is, the connection strings are formatted in a dozen different ways. I was…
Steve Syfuhs
3
votes
1 answer

Login to ASP website before using PHP Simple HTML DOM Parser

I am using "PHP Simple HTML DOM Parser" to parse data from a gaming ASP website. The data that i need to grab are only visible to registered users so i need something to log me in to site before start using it. Can someone suggest me a script or…
oMikR0n
  • 65
  • 7
3
votes
2 answers

ASP classic reads .NET cookie in Firefox, but not IE

Having an issue with ASP.NET, when trying to set a cookie on subdomain1.mydomain.com to be read by subdomain2.mydomain.com. "subdomain1" is an ASP.NET application running on IIS 6. "subdomain2" is an ASP Classic application running on IIS6. What I…
Richard
  • 1,252
  • 12
  • 23
3
votes
5 answers

Error 'variable is undefined' when calling a function

I have created a classic asp page with a function like the following: <%@ Language=VBScript %> <% Option Explicit %> <% Response.Buffer = True %> <% Function Lettergrade(lg) Dim…
Elmer Tillett
  • 51
  • 1
  • 1
  • 4
3
votes
5 answers

Classic ASP Error 405

I have several development sites on my wix XP laptop (all classic asp). Doe anyone know why i need to type localhost/site/default.asp (i keep getting a 405 error on iis 5.1) and not just localhost/site
phil
3
votes
3 answers

Jquery .load and POST data

This is really frustrating I would appreciate some help with this. I have a div, called comments and a form inside of that div. What I want to do is post a form to the current page and have it load inside of the div without reloading the entire…
Katherine Perotta
  • 125
  • 1
  • 5
  • 15
3
votes
1 answer

Using asp objects in .NET - Max compatibility

I have some legacy XSLT scripts that incorporate VBScript in them. They are run on an old system and I can't change that system. I am required to make a change to an XSLT to transform a file differently now. I built a simple .NET project to test my…
Jeremy Holovacs
  • 22,480
  • 33
  • 117
  • 254
3
votes
2 answers

How to include contents of plain HTML or classic ASP file in an ASP.net MVC 3 view?

I'm working on an ASP.net MVC 3 application. I have an external classic ASP file that renders a fragment of a page. I understand that in ASP.net MVC 3, I can define a partial view to contain a fragment of HTML that I want to reuse on multiple…
Vivian River
  • 31,198
  • 62
  • 198
  • 313
3
votes
2 answers

MSBuild - Perform all config transforms at once - and transform other files

I have been working on a build script for a website that we have. The website is a classic asp web app with an asp.net website in a folder of the classic asp web app. We have different versions of the global.asa that need to be substituted instead…
Kevin Donde
  • 912
  • 3
  • 15
  • 32
3
votes
1 answer

What is the length of the ASP classic session.sessionid property?

This is a simple question... yet I have spent some time poking around online to no avail. In ASP classic (which I am unfortunately stuck with), I need to know the range of possible values returned by getting session.sessionid. I can print it just…
Melina
  • 68
  • 5