I do not have programming experience with ASP but need to make very slight modifications to an .aspx file. I would like to echo a _POST variable on the page (eventually into a hidden input field).
Can you tell me how to do this?
Thanks.
ASP
Last Comment
b0lsc0tt
8/22/2022 - Mon
Guy Hengel [angelIII / a3]
>aspx file.
means, asp.net?
or was that a typo, you really use classic ASP pages (.asp)?
qwertq
ASKER
Not a typo. The server has a foo.aspx files. When I look in them they are pretty much normal html with the addition of things like:
Guy Hengel [angelIII / a3]
that is aspx.net, so you use visual studio.net to develop/change the site?
because with simple notepad/text editor, you cannot do it, as you need to compile the site's .dll file for the changes to be applied....
I am not the developer of the pages, just trying to make slight modifications to the html of an already installed product.
Your kidding me about being required to be recompiled... there is no simple way to edit an asp site?
qwertq
ASKER
If I edited an .aspx file (just added the text "Test" in the body) and now the site says
"The underlaying connection was closed: Unable to connect to the remote server"
>Your kidding me about being required to be recompiled...
nope. no simple way with asp.net
>there is no simple way to edit an asp site?
with the classic asp pages, yes, there is was easy.
with asp.net, you have to open the whole site project, change, compile in release, and put into place the necessary files...
qwertq
ASKER
God..... I am already hating asp.
It would crash the entire system just because I added one bit of text to a template? I even removed it and it still doesn't work.
Just to add another option that may work in a case like this to get going again. In a lot of cases the "connection" is something setup on the server to the DB. Delete that and reset it up, using the same info, has gotten things going for someone I had to help in a similar situation.
The other stuff the expert above has said is all correct. All credit to him for that answer and hopefully one of these things will work to get you going again.
Let me know if you have any questions or need more information.
b0lsc0tt
qwertq
ASKER
Does anyone have a suggestion on how to echo a post variable (as a value of an input box).
means, asp.net?
or was that a typo, you really use classic ASP pages (.asp)?