|
-
Apr 7th, 2001, 11:46 AM
#1
Thread Starter
Member
I am submitting data to an asp page throught the URL...
But for some reason its not working..
I have an asp page that takes two fields as input and returns some data. How can i submit those two fields using just the Address bar?
And is there any special code i need to use in the asp to read that data from the bar?
Thanks
-
Apr 7th, 2001, 12:42 PM
#2
why don't you put those two text fields in a form, post it and than retrieve the values 'request.form'?
-
Apr 7th, 2001, 02:19 PM
#3
Addicted Member
The form tag should be like this..
<form action="whatever.asp" method="get">
<input type="text" name="age" value="">
</form>
Then in whatever.asp to get back the age..
use
age = request.querystring("age")
-
Apr 9th, 2001, 06:57 AM
#4
Black Cat
And then to manipulate the data using just the address use something like this (Active's form would generate this also).
You could then change the 78 to whatever and hit enter for testing, without having to flip back and forth between the form page and the results page. More values would be appended like this:
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|