| | |
server problems? passing variable info...
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2006
Posts: 6
Reputation:
Solved Threads: 0
folks, trying to pass variable from test1.html to test1.asp.
simplest code possible, even works on our ISP host, but not my web server. please help??
code for test1.html, which calls test1.asp:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>A.html which calls B.asp</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" action="B.asp" method="post">
<input type="box" name="input1">
<input type="submit" value="submit">
</form>
</body>
</html>
================
calls the following - B.asp:
================
<%@ LANGUAGE=VBScript %>
<%
'Turn On Error Handling
On Error Resume Next
%>
<html>
<head>
<title>B.asp</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<%
var1=request.form("input1")
response.write(var1)
%>
</body>
</html>
======================
works on our ISP's server yet not on my own webserver.
goes to the B.asp but is just white page. any ideas??
server configuration??
thank you!!
simplest code possible, even works on our ISP host, but not my web server. please help??
code for test1.html, which calls test1.asp:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>A.html which calls B.asp</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" action="B.asp" method="post">
<input type="box" name="input1">
<input type="submit" value="submit">
</form>
</body>
</html>
================
calls the following - B.asp:
================
<%@ LANGUAGE=VBScript %>
<%
'Turn On Error Handling
On Error Resume Next
%>
<html>
<head>
<title>B.asp</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<%
var1=request.form("input1")
response.write(var1)
%>
</body>
</html>
======================
works on our ISP's server yet not on my own webserver.
goes to the B.asp but is just white page. any ideas??
server configuration??
thank you!!
Comment out your error handling line in b.asp and you should at least get an error message.
Also in a.html, input type=box is invalid and should be input type=text.
Also in a.html, input type=box is invalid and should be input type=text.
If I've been a help please confirm by clicking the Add to Lafinboy's Reputation link in the header of this reply.
Lafinboy Productions
:: Website Design :: Website Development ::
Lafinboy Productions
:: Website Design :: Website Development ::
•
•
Join Date: Jun 2006
Posts: 6
Reputation:
Solved Threads: 0
Lafin - thx much for your your response!!; i just tested it - turns out it was the type="text" that works. actually uncommenting the "'Turn On Error Handling
" causes error - forget it. wow i will try to not wait 2 years to reply!! i see the files on my server hadn't been updated since data of the first post. thanks again for your reply!!!
" causes error - forget it. wow i will try to not wait 2 years to reply!! i see the files on my server hadn't been updated since data of the first post. thanks again for your reply!!!
![]() |
Similar Threads
- Winsock Multi-Client Servers (C++)
- Passing variable value from javascript to jsp page at run time (JSP)
- CodeDom parameter conversion (C#)
- help on passing variable to a function? (JavaScript / DHTML / AJAX)
- Using Client(JS) to get Server(VBS) value. (ASP)
- Windows 2003 Server roles (Windows NT / 2000 / XP)
- Parse XML from ASP!!! (ASP)
- Server Admin and Tech Guru Needed (Tech / IT Consultant Job Offers)
Other Threads in the ASP Forum
- Previous Thread: asp form post, form validation, new window
- Next Thread: Change language of content according to country
| Thread Tools | Search this Thread |
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection connection database databaseconnection dreamweaver excel fso iis msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption single specfic sqlserver sqlserverconnection windows7





