Questions tagged as 'asp'

0
answers

Method to protect IIS from hotlinking

There is some efficient method against hotlinking for IIS. I tried two but they did not work. <!--Método 1--> <rewrite> <rules> <rule name="Blacklist block" stopProcessing="true"> <match url=...
asked by 18.09.2015 / 18:24
2
answers

Saving Base64 Image with ADODB.Stream

After converting an image to base64 using html5 and canvas, I send the string to Classic ASP and there I should save this image to a certain directory. I'm using the following code: base64String = Trim(Request.Form("base64")) Set tmpD...
asked by 27.05.2015 / 19:42
1
answer

Get the value of the selected item in a ComboBox in classic asp

I have two combobox, I need to get the id of one to load the other from the item that was selected in combobox1, how could I do this through a javascript function. <select id="cb_catinsumo" class="combo" name="cb_catinsumo" class="combo2"&g...
asked by 23.04.2014 / 19:54
1
answer

Condition for verifying null variables does not work

I'm developing an ASP (Classic) page and on this page I have this: <%if(textocontrato) = "NULL" Then%> <td >Texto Contrato</td> <td ><input type="text" name="textocontrato" value="<%=textocontrato%>" size=30 m...
asked by 19.06.2017 / 13:20
2
answers

Disable css and image cache in browser

Recently, I developed a project that had some drastic changes in its design, mainly on the side of css and images. In this, accessing it on some machines, I verified that to view your new design it was necessary to clear the cache (ctrl + f5). H...
asked by 19.07.2016 / 13:47
1
answer

Classic Asp debug with visual studio 2017

I do not know anything of classic asp and appeared a demand where I have to do debugging of a classic asp application, since one of the filters are not working. And the response.write / notepad ++ will not help me in this case, because I already...
asked by 08.05.2018 / 19:15
2
answers

How to upload images to a folder using Classic ASP?

Is there a script for Classic ASP so that I can upload an image to a folder. Ex: I click on a button, I load the image, I click to upload it and it goes to a folder, for example: C:\ASP\sistema\imagens .     
asked by 10.02.2014 / 15:20
1
answer

Jquery - View comment data

I am trying to return comments data in JQuery and to end a form to enter more comments. <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"type="text/javascrip...
asked by 27.06.2018 / 15:18
1
answer

Connection Provider is not working in VBScript

I have the following connection string: conn = "Provider=SQLNCLI; Server=" & conn_server &"; Database="& conn_database &"; UID="& conn_uid &"; PWD="& conn_pwd And the code to open and run SP: set conexao = serv...
asked by 16.06.2014 / 21:33
1
answer

Data Source - Best way to organize methods / classes relevant to the entire table?

In my company we work with models based on the standard "Active Record", that is, the methods of the model are always referring to the operations of a single record of the database, for example: Class User { int id; string Name; p...
asked by 23.07.2015 / 17:23