Discussion Locked

Problems with Request and response

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

<%@ Language=VBScript %>

Untitled Document

<%
formName=Request.QueryString("username")
Response.write("Name = " & formName)
%>

This test ASP page is called from an HTML file containing a form of one text field. The username is sent in the querystring using the method GET but it is ignoring everything inside the <% %> delimiters.
Source of the index page below;

Palmgolf Properties

Any ideas anyone???

3 replies

by nikki96

What kind of server is this on? The web server needs to know how to parse an ASP page. This will NOT work *locally* (http://localhost/ or File:///C:/whatever) without an IIS server or PWS or some such. This will usually NOT work in Unix (they need special software for Apache, etc). IIS must be configured to do ASP.

Also, don't use capitals in the html mixed with lowercase.

This discussion is closed to new replies.