-
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
-
why don't you put those two text fields in a form, post it and than retrieve the values 'request.form'?
-
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")
-
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: