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

How to set the selected index of a dropdown using javascript

How can I set the selected value of a dropdown using javascript? This is my HTML: I am using javascript to add values. Can anyone tell me…
jain ruchi
  • 245
  • 3
  • 5
  • 11
2
votes
2 answers

%2B decoding to a space instead of a plus

We have a problem in a specific server. All plus signs posted to the application are replaced with spaces - that's in POST and GET, and on all pages on that site. As a test case I have this little page (it's an ASP server):
Kobi
  • 135,331
  • 41
  • 252
  • 292
2
votes
0 answers

How to upload image with NicEdit and classic asp

I would like to use nicedit image upload with classic asp. By default Nicedit uploads images to ImageShack, but I would like to send images to my server. However I'm having trouble to adapt some features of the original PHP script to classic asp. I…
afazolo
  • 382
  • 2
  • 6
  • 22
2
votes
2 answers

Getting variable of Public Property from external script

I'm wondering how to get a Public Property from an external script. The test code is below and and it seems to display an empty variable for tValue using this method. Is there something I'm not doing here? 'External Code Set nObj = New…
Control Freak
  • 12,965
  • 30
  • 94
  • 145
2
votes
1 answer

Exposing a WCF Service as a COM+ Component

I am working with a client that has multiple Classic ASP websites, but would like to use AppFabric Caching within these sites to help lighten the load they currently have on their database. The first approach we used was creating a .NET wrapper for…
Joshua Dale
  • 1,773
  • 3
  • 17
  • 25
2
votes
1 answer

MSXML2.ServerXMLHTTP Call in ASP

I am using Confident Technologies Image Captcha and within their technologu I need to post to their servers, which in return will then pass back the HTML code. See: https://login.confidenttechnologies.com/docs/restful I have produced a an VBScript…
neojakey
  • 1,633
  • 4
  • 24
  • 36
2
votes
2 answers

Porting to ASP .Net

Our website is implemented in ASP and Visual Basic. I wish to add a few new pages to the site but I wish to do it in ASP .NET MVC with C#. Are ASP and ASP.NET compatible for the same website? I've done a few ASP .NET MVC tutorials. What would I…
Baz
  • 12,713
  • 38
  • 145
  • 268
2
votes
3 answers

ASP files are not served in asp.net 4.0 and 64 bit project

Getting HTTP 500 while requesting the ASP files which are deployed in 64bit server and the application uses .net 4.0 framework. Can any one have any idea?
sandeep talabathula
  • 3,238
  • 3
  • 29
  • 38
2
votes
2 answers

Is there a way to have intellisense working for classic-asp custom classes in VS 2008?

First, this has never worked before, so it is not specifically related to VS 2008. The problem : when you have custom asp classes in separate files that you include in a "main" asp script, you won't get intellisense in Visual Studio. Example :…
Sébastien Nussbaumer
  • 6,202
  • 5
  • 40
  • 58
2
votes
1 answer

Work with WinHttpRequest.ResponseStream (related to IStream) in Classic ASP?

Is there a way to work with the ResponseStream property of WinHttp.WinHttpRequest.5.1 in VBScript/ASP? At least the IStream interface (to which ResponseStream is related) is integrated into ASP to a certain degree. Or is that the limit of what you…
Lumi
  • 14,775
  • 8
  • 59
  • 92
2
votes
4 answers

What's the best way to consume webservices in Classic ASP?

We have a three-tier architecture consisting of Classic ASP Frontend, VB COM+ Objects and MSSql Database. We are going to replace the VB COM by ASP.NET Webservice layer soon but we are not in the position to replace the Classic ASP with new .NET…
Ben
  • 2,365
  • 4
  • 22
  • 29
2
votes
2 answers

How does "set rs = conn.execute(sql)" actually work?

I am at the moment trying to improve the performance in my ASP Classic application, and I am at the point of improving SQL transactions. I have been reading a little from http://www.somacon.com/p236.php So, my question is: How does the line set rs =…
MicBehrens
  • 1,780
  • 8
  • 34
  • 57
2
votes
3 answers

Read nested nodes in XML using Classic ASP

My Classic ASP code connects to a URL and displays XML, my code looks like below Response.ContentType = "text/xml" myRSSfile = "http://abc.com" Set getPage = Server.CreateObject("Microsoft.XMLHTTP" ) getPage.Open "GET", myRSSfile,…
user580950
  • 3,558
  • 12
  • 49
  • 94
2
votes
1 answer

Transfer string data from ASP classic to ASP.NET popup page

I have a classic asp page from which I open a popup page in ASP.NET. How would I send data from classic ASP to ASP.Net popup without using query strings?
Sunil
  • 20,653
  • 28
  • 112
  • 197
2
votes
2 answers

Classic ASP Regular Expressions

I am trying to validate a querystring coming from an email activation link, written in Classic ASP. The querystring input contains numbers, letters and 2 forward slashes. Like this: G3hEus87YK/6738/HE347sxThH and I need to validate it, checking that…
TheCarver
  • 19,391
  • 25
  • 99
  • 149