asp-classic

How to delay a response in Classic ASP

依然范特西╮ 提交于 2021-01-27 03:55:12
问题 I have a site running Classic-ASP and on the login page I would like to delay the response to a failed login attempt (by like 10 seconds) to help prevent brute force attacks on accounts. Quick google searches show some hacks using SQL server queries that seem hack-tastic. Is there a good way to do this in classic asp? 回答1: I am not going to answer your specific question, as many have already done so, but there are far better ways of preventing brute force attacks. For instance: Why not lock a

How to delay a response in Classic ASP

☆樱花仙子☆ 提交于 2021-01-27 03:55:10
问题 I have a site running Classic-ASP and on the login page I would like to delay the response to a failed login attempt (by like 10 seconds) to help prevent brute force attacks on accounts. Quick google searches show some hacks using SQL server queries that seem hack-tastic. Is there a good way to do this in classic asp? 回答1: I am not going to answer your specific question, as many have already done so, but there are far better ways of preventing brute force attacks. For instance: Why not lock a

How to delay a response in Classic ASP

ε祈祈猫儿з 提交于 2021-01-27 03:52:53
问题 I have a site running Classic-ASP and on the login page I would like to delay the response to a failed login attempt (by like 10 seconds) to help prevent brute force attacks on accounts. Quick google searches show some hacks using SQL server queries that seem hack-tastic. Is there a good way to do this in classic asp? 回答1: I am not going to answer your specific question, as many have already done so, but there are far better ways of preventing brute force attacks. For instance: Why not lock a

Stop ASP script auto-running on page load

天大地大妈咪最大 提交于 2021-01-20 12:46:52
问题 I'm having a problem here. I've created a page for adding records into a database, it's working fine however the asp script is running every time the page loads, inputting a blank record to the database each time the page is loaded, this is very annoying as it messes with other scripts I have. I feel I am being very stupid but all I need is for the script to run only once the submit button has been clicked, how do I get it to do this? <!DOCTYPE html> <html> <title> Teacher Registration <

Access denied error with MSXML2.ServerXMLHTTP

流过昼夜 提交于 2020-12-29 07:54:12
问题 I'm receiving an intermittent "msxml3.dll error '80070005' Access is denied." error. The object always posts back to the same domain. I don't quite know why it works sometimes and why it fails other times. This is Classic ASP - VBScript set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST", "http://xxxx.com/GetCacheValue.aspx", false xmlhttp.send "" strCaptchaText = xmlhttp.responseText set xmlhttp = nothing 回答1: Here's something I snipped from a Google search result:

having trouble reading header values in classic ASP

放肆的年华 提交于 2020-12-25 02:40:49
问题 This is all internal servers and software, so I'm very limited on my options, but this is where I'm at. This is already a band-aid to a workaround but I have no choice, so I'm just trying to make it work. I have a simple .asp file on my server that is protected by a service that will handle the user authentication (I have no control over this service). When a user goes to this .asp file, it requires them to authenticate via the service, and the service then redirects them to the .asp. The

having trouble reading header values in classic ASP

这一生的挚爱 提交于 2020-12-25 02:40:26
问题 This is all internal servers and software, so I'm very limited on my options, but this is where I'm at. This is already a band-aid to a workaround but I have no choice, so I'm just trying to make it work. I have a simple .asp file on my server that is protected by a service that will handle the user authentication (I have no control over this service). When a user goes to this .asp file, it requires them to authenticate via the service, and the service then redirects them to the .asp. The

MySQL ODBC 5.1 driver returns wrong datatype to ADODB

▼魔方 西西 提交于 2020-12-12 08:43:22
问题 Situation: working with legacy classic ASP code, attempting to move the codebase from an old server to a new one. The code attempts to connect to a MySQL database on a Windows server using the MySQL ODBC 5.1 driver and the ADODB.Connection object. Connection String = "Driver={MySQL ODBC 5.1 Driver};Server=dbserver;Database=dbname;Uid=username;Password=password;Option=3" Query results are returned in ADODB.RecordSet objects. When I try to access a field containing a standard MySQL Integer, I

MySQL ODBC 5.1 driver returns wrong datatype to ADODB

萝らか妹 提交于 2020-12-12 08:42:42
问题 Situation: working with legacy classic ASP code, attempting to move the codebase from an old server to a new one. The code attempts to connect to a MySQL database on a Windows server using the MySQL ODBC 5.1 driver and the ADODB.Connection object. Connection String = "Driver={MySQL ODBC 5.1 Driver};Server=dbserver;Database=dbname;Uid=username;Password=password;Option=3" Query results are returned in ADODB.RecordSet objects. When I try to access a field containing a standard MySQL Integer, I

Static code analysis for VB6 and classic ASP

ぐ巨炮叔叔 提交于 2020-12-10 03:55:51
问题 I'm looking for a static code analysis tool that will determine if I have orphaned functions in my VB6 code. The problem I'm running into is we make calls to the VB6 code from classic asp. Is there a tool that will look at both the classic asp and VB6 and determine if there are any orphaned functions? 回答1: Great Migrations offers a VB6/COM/ASP processor that can produce precisely what you are asking for. These detailed "reference reports" are a side benefit of the primary purpose of the