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

How to hash a UTF-8 string in Classic ASP

I've been looking for a Classic ASP script that allows me to hash a string using the MD5 algorithm. I need to match this hashed string against the same string in an ASP.NET Page, hashed using .NET's MD5 hashing algorithms. Even though I have found…
Meryovi
  • 6,121
  • 5
  • 42
  • 65
2
votes
1 answer

Integrating MVC3 into an existing Classic ASP application

We have a very large application written in classic ASP. The application consists of a single codebase which is accessed by multiple tenants, each of which has their own database. The application has been developed over a number of…
Matt
  • 317
  • 1
  • 2
  • 12
2
votes
2 answers

I can't open other pages on my website while uploading?

My website runs on IIS7 and all scripts are coded in ASP Classic. I recently noticed while uploading a file on my website I cannot open any other pages. This is the scenario: I start uploading a video file using a web form, while the file is being…
2
votes
1 answer

Asp XML feed reader

What I have so far I am creating a news feed for my site and I currently have this. <% TheFeed = "http://feeds.feedburner.com/Actsoft" Set objXML = Server.CreateObject("Microsoft.XMLDOM") objXML.Async = False objXML.SetProperty…
WhosDustin
  • 303
  • 3
  • 11
2
votes
3 answers

What is the equivalent to ASP.NET's HttpContext.Current.Items in Classic ASP?

HttpContext.Current.Items is a store that has a life span of the HTTP request. I'd like to know the Classic ASP equivalent of this.
joshcomley
  • 28,099
  • 24
  • 107
  • 147
2
votes
3 answers

JQuery Slider Examples With Classic ASP?

I'm about to try and implement the JQuery slider into an old Classic ASP store, where the slider would control the price range. So have a price between say $40 and $80 and you could use the slider to go between $50 and $60... Anyone know of any…
YodasMyDad
  • 9,248
  • 24
  • 76
  • 121
2
votes
1 answer

Ajax / iFrame / FileSystemObject Upload

I have built an uploader for my application but struggling on something. Every 3 seconds my AJAX script makes a call to my ASP page, checkProgress.asp, to check how many files are in that folder during upload, it also checks if a txt file called…
TheCarver
  • 19,391
  • 25
  • 99
  • 149
2
votes
1 answer

classic ASP cookies and sessions returned as "undefined" only in Firefox on 64 bit OS. Why?

One my home works in my classic ASP class is to create a simple logon form, a page that processes the form by saving values to cookies, and then a display page that takes the values from the cookie, stores them into session variables and then…
Matthew Carr
  • 105
  • 10
2
votes
2 answers

Going from iterating record to GetRows() - Is it possible to rs("id", counter)?

I am getting a huge amount of data from my database which I before iterated through in a recordset like this: sql = "select * from table" set rs = conn.execute(sql) if not rs.eof then do until rs.eof id = rs("id") fullname =…
MicBehrens
  • 1,780
  • 8
  • 34
  • 57
2
votes
1 answer

Make JSON use POST requested instead of GET with ASP

I'm using the Google Translator v2 service and this works great with small texts. For big texts Google gives a hint about sending a POST request instead of a GET. Which makes perfect sense. I just don't get how to do that. If I use the following…
Nehbur
  • 69
  • 1
  • 1
  • 5
2
votes
1 answer

Classic ASP file list

I have inherited a classic asp application that had over 800 files in the WEBS folder. Within the directory structure, there are many temp folders that the previous developer(s) made for whatever reason. I am looking for a way to determine what…
larryr
  • 1,536
  • 3
  • 17
  • 27
2
votes
2 answers

ELMAH errors and Classic Asp

We're already using ELMAH for error logging on an ASP.NET MVC website that we have ... but our main website is still classic asp and I've begun creating an error handling/ logging structure for that website, but I thought it would be great if we…
Kevin Donde
  • 912
  • 3
  • 15
  • 32
2
votes
2 answers

Where to get this browser info?

I'm working on some logging functionality for a website, and I need to update a table with information about the users' browser info. The table was created a while ago by someone else, and I have no idea where they were getting this info. Does…
carpat
  • 861
  • 10
  • 25
2
votes
1 answer

Classical ASP Concurrent Insertion

I have an old project in classical ASP. I am having the problem that sign ups always exceeds the maximum number I have set up in the database. My code checks the current maximum seats first and then do the insertion. The sql is like select count(*)…
user788448
  • 779
  • 1
  • 14
  • 36
2
votes
4 answers

Understanding Classic ASP

I am looking through some old code and found a piece that i cant' seem to understand the point of....As far as i can tell, it's just a simple insert. but why did they do it this way? would it be okay to rewrite into an insert, or could i potentially…
Madam Zu Zu
  • 6,437
  • 19
  • 83
  • 129