|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Strange Problem
Hi,
I have IIS 5.1 on both my laptop and desktop. I created a VERY simple file that is a form. It simply asks for name and then when submitted, it displays the name on the next page. They are done in ASP. It works on my desktop, however on my laptop, it does not work, Instead of say saying "Your name is: Julie" it says "your name is ". I have uninstalled and reinstalled IIS, but am clueless as to what else could be preventing the page from working properly. It is ONLY the passing of form data that does not seem to work, if I put ASP script in a file it works fine. I am fairly new to ASP, but have been programming PHP for a long time. Any ideas would help. I need to get this to work on my laptop so I can do site demos. Thanks! |
|
#2
|
||||
|
||||
|
you should've put it in the ASP Development forum, it's ASP coding problem.
anyways, without seeing your code we can't help you fix it. make sense, doesn't it? |
|
#3
|
|||
|
|||
|
I don't think it is a coding issue. If it was an ASP coding issue, it would not work on
one computer and then NOT work on another as is the case. Anyway, here is the code. It does not get a whole lot simpler. I think it is an IIS server or computer setting. If you STILL think it should go in the ASP section i will go post it there also. I am NEW to ASP, I have been and Apache/PHP person till now, I just have a project that needs to be done in ASP. Help is appreciated. Here is code anyway: first page: <html> <head><title>Asking for information</title></head> <body> <form action="form_response.asp" method="post" name="form" id="form"> Your name: <input type="text" name="name" size="20"> <input type="Submit" value="Submit"> </form> </body> </html> Results: <html> <head><title>Responding to a form</title></head> <body> Your name is <% =Request.form("name") %> <BR> </body> </html> I think you will agree the code is not the issue. It is a setup or permissions or something. THAT would be IIS. |
|
#4
|
|||
|
|||
|
I don't know of any IIS setting that would cause what you described. Perhaps if you posted the exact details of what you enter and what is shown by response.write your question would make more sense. For example, where the heck does the Hello come from that you referenced above? Is there more code you haven't shown?
Make sure your asp page has execute permissions granted in the IIS settings is one thing maybe.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#5
|
|||
|
|||
|
All possible permissions have been granted. The Hello you are referring to is "Your name is".
I changed my original message to reflect this. My TOTAL code is above. It is VERY basic. Thanks for trying to help though. Some kind poster in the ASP forum suggested it could be my Anti-virus, which seems to be the problem I use panda Platinum firewall/antivirus and I turned it off and it now works. Off now to find out how to allow me to have that on and still do my ASP development. Thanks. |
|
#6
|
||||
|
||||
|
oh my god... those anti viruses are crazy... first Norton block any file system code and now Panda is totally killing ASP. amazing.
anyway, judging from NAV try to disable script blocking of the anti virus if possible. |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Strange Problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|