I have a search page that has a form that only works half way when I use "GET" and the other half only works when I use "POST"... does anyone have any ideas???
Less information can be submitted using the Get method than can be sent using the Post method. This might be the reason why your script is only partially working when using the Get method.
For other reasons why your script is only partially working, please provide more information about what is working and what is not. The actual code might help in identifying the cause of the problem as well. If you do post code, it might be a good idea to post both the code where you define your form and the code where you are submitting the form to.
It sounds like the page that processes the form data is using both Request.Form("item") and Request.QueryString("item") to read the form values. GET requires the user of Request.QueryString whereas POST requries the use of Request.Form.
I would suggest sticking to POST and Request.Form for all the form values.
Tony
_______________________________________________________________
Yes, after I went over my code about 10,000,000 times, I found that I was using half (post) and half (get) commands. I don't know what I was thinking. I guess I wasn't.
You can use either GET or POST, but don't try to use both. Usually the GET method is used such as when you have a link on a page that the user can click. If the user needs to enter data, then POST is better using a form.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.