asp-classic

Jquery Post Ajax

Hi, I am new to jquery ! I am using the code below to insert record, the data posted to targeted asp page, but nothing happen, but when I try using simple form and post with same coding , the data inserted ! Jquery Code <script> $(document).ready(function(){ // code here $("a").click(function(event){ // alert(...

Classic ASP URL Rewriting

Hi there, I was wondering if it is possible to do URL Rewriting with Classic ASP when you do not have access to IIS to make any rewrite changes? We have an online shop where products are typically linked as /product.asp?ContentID=X but would like to have something more SEO friendly such as /product/unique-product-name Unfortunately we ...

Nusoap, server side (php) and client side ASP classic.

Hi there, I am trying to call a web service (using nusoap), which work well when I call it with a php client. It returns a list of mail address. (there are plenty of examples around on the web about php/php or php/asp.net, etc...) but, I want now to be able to call this web service with classic ASP I have found noth...

ASP.NET passing HTML input files via post from classic ASP

I'm in the process of migrating code from a classic ASP site to an ASP.NET site. One problem that I'm running into is an <input type="file" name="upload"/> form field. <form id="classicASPform" method="post" EncType="Multipart/Form-Data" action="http://domain2/formReciver.aspx"&gt; <input type="file"...

Is codepage 65001 and utf-8 the same thing?

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!--#include file="conn.asp"--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Is the above c...

dependent combo in classic ASP and Ajax?

Hi, please can you suggest me an example in classic asp and ajax to make dependent combo? Thank you very much! ...

Encoding value in a textbox and passing it to next page

I have a requirement in Classic ASP, I am using a txtbox to store a numeric variable then i am passing it to next page to be passed to stored procedure. Now i am facing XSS issues so i want to encode the value of text box on parent page and then use it on the other page. I know the stored procedure will not run after getting the encode...

page is not served because it has been explicitly forbidden - extension .asp may be incorrect

I'm trying to run a test version of a web using the File System (i.e. the "Cassini" web server built-in to Visual Studio 2005) rather than HTTP://localhost (IIS 5.1 on my Win XP dev PC). This web is a hodge-podge of classic ASP files written years ago and some new development in ASP.NET (VB.NET). How can I get past this error message a...

Changing cursor type with stored procedure in ASP

Using ASP, I want to call a stored procedure that returns a recordcount. I understand that I have to change the cursor type to adOpenKeyset or adOpenStatic to return a recordcount. What I don't understand is how to modify my vbscript so that it changes the cursor type when calling the procedure. currently I say cm.commandtype = adCmdS...

Using ASP.NET Cryptography in ASP Classic application

It looks like I might need to port an older web application to a cloud platform (Rackspace Cloud Sites). While this would put me on the latest version of IIS, it also means that I won't be able to install any custom COM components. I use one such component for basic cryptography right now, but the Rackspace environment doesn't have anyt...

Should I start learning classic VB/ASP or .NET?

I realize that VB.NET and ASP.NET are the successors of their seemingly obsolete classic counterparts, but I have noticed that some job descriptions still list VB6 and classic ASP as requirements. This may be because they want people who can convert code from classic to .NET, but I'm not really sure. Would classic VB and ASP be helpful...

VBScipt: Call builtin functions shadowed by global variables

VBScript on ASP Classic contains an "int" function. (It rounds numbers towards -∞.) Suppose that some excessively "clever" coder has created a global variable named "int". Is there any way to get at the original function? I've tried all manner of workarounds with scoping and dodgy execs, but no dice. I suspect that it is impossible, but...

Classic ASP updating child nodes in XML

Hi I am trying to update a child node of an XML file IE Changing the value. The XML file looks like this: <user> <firstname>Andre</firstname> <lastname>Bruton</lastname> </user> Here is my Classic asp code: users_firstname = "Tristan" ''# New code to put in the XML file Set xmlObj = Server.CreateObject("MSXML2.FreeThreadedD...

ExecuteGlobal in VBScript, ASP on IIS 5.1 (Win XP Pro) not working

What setting might be missing or misapplied that would cause the same code that works on an IIS 6.0 server to fail on an IIS 5.1 server? I've inherited this large Classic ASP application. It "caches" a series of files with funcitons in them using the ExecuteGlobal command. On both server, the command executes without error. However, ...

How can I upload a file in an ASP site? (NOT ASP.NET & NO DLL)

I want a simple method to upload file in ASP. Just one function ...

Does an ODBC connection have to use cleartext passwords?

I have been tasked with securing the connection string in an classic ASP application and I'm wondering if I should just bite the bullet and upgrade the whole application to ASP.NET, or if there is a simple fix. Currently the application connects to an ODBC datasource with a connection string like this: DSN=Mydb;uid=myuser;pwd=mypasswor...

Retrieve ADO Recordset Field names (Classic ASP)

Hi all, I wonder if someone can help: Long story short, I'm using MSSQL2005 to build a Pivot table. The data being examined is limited by date range (All data for 1 week from the nearest Monday to the date selected) When I run the Stored Proc and pass it a date, I get The correct table back eg: Time | 1 Jan 09 | 2 Jan 09 | ...

MD5 on ASP Classic and .NET

I have a working .NET web application that perform hashing and encryption using MD5 on a certain string. This string will be stored in a cookie. The problem is, I will need to validate this cookie from an ASP classic application. From what I know, there are no built in cryptographic providers in ASP classic, thus I may need to copy/wri...

ServerObject aspImage in Win 2008 64-bit

Hi all, Does anybody have any experience/ knowledge in installing the aspImage.dll on a 64-bit Windows 2008 platform? I have a Classic ASP site that uses this component and would badly need to get the dll running. I have tried checking support documents for these to no avail. Would really do appreciate your response. Thank you! ...

SQL Server text column affects results returned to classic ASP

Using classic asp, I am trying to query a SQL Server database like so: strSQL = "select column_1, column_2, column_3, column_4 from someview " &_ "where RecordNo=" & i set rs=conn.Execute(strSQL) if not rs.eof then A = rs("column_1") B = rs("column_2") C = rs("column_3") D = rs("column_4") end if Column_3 is...