asp-classic

Classic ASP or ASP.NET : make multiple async calls, return when all complete

I need to gather information (via GET) from several other websites (not under my control), do some processing (specific to each source) on the data returned, and then print all the info out to the user. Right now I'm making the GET request to website A, waiting for it to return, processing it, then calling website B, and so on... Obviou...

Reasons why FireFox would cause a Classic ASP + ASPNET MVC 2 site to consume maxi RAM + CPU on server?

I recently inherited a dinosaur Classic ASP site that has some fresh blood pumped in to it in the form of intertwined ASPNET MVC 2. I have duplicated the site on the same server (Windows 2008 R2, 4GB, quad core, vm) to setup a poor man's staging site. As we were trying to sort some legacy bugs in the Classic ASP admin module we noticed t...

Forum software ASP classic

Hello For a website I need a forum and I'm looking for code written in classic ASP. I know about phpBB and Simple Machines, but that's written in PHP. I'm used to use (classic) ASP for websites, because I think ASP.NET is to much overkill for simple websites. Or should I definitely switch to PHP? I'm thinking about doing that for some ...

Classic ASP Session Variables Lost on Windows Server 2008 R2 / IIS 7

We transferred our existing website which is running on a Server 2003 machine using iis6 and coded with classic asp to a Server 2008 64 bit machine using iis7 and classic asp. The only changes to the pages were for our calls to a Universe db, which need a new connection string . We tested all the pages within the department running 4-5...

ASP Classic web page length

I have a ASP classic web application running on windows 2008 r2 server is not rendering the whole page(only last 70 % is shown) while the same application on my localhost running xp shows all the page content. Is there any limit on the web page size on new iis or is there any property to change on iis to fit all the page size d...

Error in class refering - CDONTS

I get an error at following line in my application : 'create NewMail object' Line 96: Function SendHTMLEMail (strFrom, strTo, strCC, strSubject, strBodyHTML) Line 97: Set objNewMail = Server.CreateObject("CDONTS.NewMail") The error is: Error Type: Server object, ASP 0177 (0x800401F3) Invalid class string /Utils.inc, line 97 I h...

Should I start learning ASP Classic or 'continue' learning ASP.NET?

Some background info: A year ago I had to learn PHP in school, I already knew ActionScript3 so it wasn't that difficult, and together with a friend of mine we were the first 2 of our school to learn ourselves OOP in PHP. It wasn't required but we thought it was important. Last year I started learning C# and ASP.NET, I really like C# btw...

Is Classic ASP a lot like PHP and some questions about MVC?

I don't mean to be controversial. Close if you see fit. But I've got to choose the best way to update my Intranet that's in Classic ASP. I've looked at umpteen framework, still looking and learning, but undecided. I know that PHP is still being updated and is a fine language, but I was thinking. If I wanted a framework couldn't I cr...

Get recordset value to display checkbox as checked

I have a checkbox called "cbBatch" on one of my pages. When i check the box and submit the form, "cbBatch" is stored with a value of 1. On the next page, I need cbBatch to be "checked" if the value in the corresponding database field is "1". If it's 0, then unchecked. I have attempted to write it like this: <input type="checkbox" na...

How to read remote XML via ASP?

Hello i have this XML <?xml version = '1.0' encoding = 'windows-1251'?> <ICBSProxy> <Message type=""> <Version>01.00</Version> <Parameter name="xICBSXPProxy.ProcessingDetail" id="1"> <Value>1250484</Value> </Parameter> <Parameter name="xICBSXPProxy.ProcessingError" id="2"> <Value>0</Value> </Parameter> <Parameter...

Formatting text for an xml feed

Hi there, I've got an .asp page scripted as an xml page, but i'm having some issues with html entities. I have a feed with products and obviously a product description. The following person of code correctly formats '&' as '&' but I also need to catch instances of the registered mark and make that into the html entity. Dim varOrgText,...

classic ASP recordset problem

Hello i need to gater the data from db(MSSQL) in following way: <div id="slider"> <div class="scroll"> <div class="scrollContainer"> <div class="listings"> <ul class="clear" id="navigation-feature"> <li class="list1" id="feature-tab1"> ...

best way to secure asp 3.0 site's folder

Hello guys. I have requested to fix login problem on the classic asp site. Configuration is 2008 server and IIS 7.0 I've found that admin directory of the site has basic authentication, however there is no any NT Accounts for requested loginName. I don't want to create any Windows account for this site and I know that basic auth is ins...

How to pass parameters to soap in classic asp

Hi, I need to call a web service from my classic ASP website. I have been provided with a URL and three variables from the SOAP provider: URL of web service: http://www.theirwebsite.co.uk/B2bservice.asmx Parameter1: CustId Parameter2: PWord Parameter3: OrderNo So I'm supposed to send this SOAP request from my classic ASP website, alo...

Implement Ajax to keep background animation at same place throughout all pages.

I was wondering what the best way to keep my background.asp file playing throughout all of my web pages. My website www.marioplanet.com uses ASP #includes in order to keep certain parts of my website the same. So, if I want to change a link in my header, I just need to update 1 file. Now, I was wondering how to keep my background.asp f...

Is there a Microsoft Word Component for the Classic ASP?

Hello World! Is there a Microsoft Word (or Word-Like) Component for the Web - Specifically, Classic ASP? Something that can attach to multiple instances of HTML textareas... The platform is a homegrown, in-house corporate-type app, so it really limits our maneuverability. That said, we just need it to work in plain old web pages using ...

"Build" Classic ASP with TFS 2010

I'm using TFS 2010 for source control and for continuous integration (among other things). I've got a Classic ASP application that I maintain that I'd like to incorporate in a continuous integration build; however, I must supply a "Item to Build" in the build definition. Since Classic ASP doesn't have a solution or project associated wit...

Handling ADODB connections in classic ASP

Hi, I'm an ASP.NET C# guy who has to go back to classic ASP, and need some help with it. First, look at this two functions (I know in VBScript the comments are declared by ' and not by // but the syntax highlighter here messes up with '). First version: Function DoThing Dim Connection, Command, Recordset Set Connection = Ser...

Form GET in ASP.NET

I'm trying to convert a classic ASP page to ASP.NET 3.5. On the page, there is a small form to submit your e-mail address to an external newsletter site. Here's the code: <form name="emailForm" action="http://www.site.com/emailsignup.aspx" method="get"> <input type="text" name="email" /> <input type="submit" id="btnSubmit" name...

Setting content expiration on all pages to avoid back button in ASP Classic

Is there a way to set pages to expire in ASP Classic so that the user can't hit back and re-do anything? Is this a good practice? ...