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) via the Windows NT 4.0 Option Pack, it was subsequently included as a free component of Windows Server (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 supports multiple programming languages, including VBScript, 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.

12 questions
14
votes
11 answers

How to make Classic ASP interesting if you are stuck with it?

I used to work on a really small outsourcing company (4 programmers and the boss), then when the stress and the frequent long shifts made the situation unbearable I made the switch to a better paid job with a more relaxed schedule that allows me…
Saul Delgado
  • 351
  • 1
  • 2
  • 8
5
votes
2 answers

Http handler for classic ASP application for introducing a layer between client and server

I've a huge classic ASP application where in thousands of users manage their company/business data. Currently this is not multi-user so that application users can create users and authorize them to access certain areas in the system. I'm thinking of…
JPReddy
  • 281
  • 1
  • 3
  • 9
4
votes
2 answers

Ways to modularize blocks of code in ASP Classic

I have one huge file.asp with all my reports. I have modularized the page using querystring, so this creates a lot of "virtual pages" with Report #1, Report #2, and so on. I have some blocks of code I use more than once in the page. Actually I am…
Khrys
  • 143
  • 5
3
votes
1 answer

What's the best architecture to mix C code and a ASP Classic website

I have to create a real-time display. On this display I have to get the numbers from an existing business logic component (written in C) and display these Live on a classic ASP-page (legacy app). How can I best structure this solution to reuse the…
MiMeng
  • 67
  • 2
3
votes
3 answers

Best practices: Ajax and server side scripting with stored procedures

I need to rebuild an old huge website and probably to port everyting to ASP.NET and jQuery and I would like to ask for some suggestion and tips. Actually the website uses: Ajax (client site with prototype.js) ASP (vb script server side) SQL Server…
Luka Milani
  • 139
  • 1
  • 2
2
votes
4 answers

Should I achieve validation by handling errors in classic ASP?

I came across this while modifying an old ASP application: ON ERROR RESUME NEXT ivalue = CDATE(ivalue) IF err.number > 0 THEN ivalue = CDATE(date) END IF err.clear This doesn't look like good practice. What is the purpose of doing it this way,…
Jason
  • 397
  • 1
  • 8
1
vote
2 answers

A little code to allow word substitution depending on user

I'm creating a demo web app in html in order for people to physically see and comment on the app prior to committing to a proper build. Whilst the proper app will be database driven, my demo is just standard html with some JavaScript effects. What I…
0
votes
2 answers

Classic ASP to Java UI Conversion

My question is based on a business model of a financial services organization that currently is supporting applications that are a hybrid mix of Classic ASP and Java, with some JSP’s already in some of the applications. Specifically, in our large…
user39741
0
votes
2 answers

Upgrading old ASP classic to newer standards

For the past year I have been working in a Classic ASP \ ASP.net hybrid. The website has 1M+ hits daily. The code, as you can imagine, is very hard to navigate. There are 200+ files. Dozens of includes... I…
Cornwell
  • 117
  • 1
  • 7
-2
votes
1 answer

Upgrading CLASSIC ASP application to PHP

I have an application built on ASP Classic & Microsoft Access (for the Database) which I have been maintining for a long time, but now I want to upgrade it to PHP for the betterment. Maintainence Procedure (3/4 times a day) I download the live…
yaqoob
  • 99
  • 3
-2
votes
1 answer

quick approach to migrate classic asp project to asp.net

Recently we got a requirement for converting a classic asp project to asp.net. This one is really a very old project created around 2002/2003. It consists of around 50 asp pages. I found very little documentation for this project, FSD and design…
Buzz
  • 105
  • 1
  • 5
-2
votes
2 answers

Web application to a multiplatform phone app

I'm really lost here so I hope some can help me. I have to develop a phone application on every platform so i tough 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…
GregM
  • 97
  • 3