oyvind@musikklink.no Posted July 24, 2009 Share Posted July 24, 2009 Hi, I have a form where the user inputs a number. I want the ASP to redirect the user to a webadress, and add the number inputted in the form to the end of the URL. Below is what I've tried, but it won't work. <%Response.Redirect("http://www.website.com/submenu=" & Request.Form("number"))%>So if the user inputs 123 he would be redirected to http://www.website.com/submenu=123What am I doing wrong? Link to comment Share on other sites More sharing options...
justsomeguy Posted July 24, 2009 Share Posted July 24, 2009 Is the form submitting through get or post? Link to comment Share on other sites More sharing options...
oyvind@musikklink.no Posted July 24, 2009 Author Share Posted July 24, 2009 Is the form submitting through get or post?post... Link to comment Share on other sites More sharing options...
justsomeguy Posted July 24, 2009 Share Posted July 24, 2009 Well, assuming you have an element in the form with the name "number" and it's submitting through post, that should work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.