473,387 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Using Request.Form("RedirectPage") to request a different page

I’m trying to request a different page using VB with ASP.
I can do this with Radio Buttons and a Dropdown Box.

How do I setup the “RedirectPage” for a stand alone redirect?

I'm using it in the following condition statment:

<%
If Condition then
Response.Redirect(Request.Form("RedirectPage"))
End If
%>

Thanks,
James
May 21 '07 #1
1 1317
I’m trying to request a different page using VB with ASP.
I can do this with Radio Buttons and a Dropdown Box.

How do I setup the “RedirectPage” for a stand alone redirect?

I'm using it in the following condition statment:

<%
If Condition then
Response.Redirect(Request.Form("RedirectPage"))
End If
%>

Thanks,
James
I just worked it out.

Response.Redirect("index.asp")

So simple!

Thanks,
May 21 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: norton | last post by:
Hi all. I have a question in using Request and Request.Form when the asp page is Request("txtName") i can use "testpage.aspx?txtName=User1" to post the value but when i use...
2
by: Brent | last post by:
I've a menu created by a user control. The control is dropped onto every page. In the user control, I'm trying to get the current page the user is viewing -- that is, the name of the user control's...
8
by: daberelay | last post by:
Hi, I'm using IHttpModule class (added to GAC and machine.config) to get requests of non existing pages in my web server and redirect them to different pages, using the...
6
by: Shawn | last post by:
Any ideas how I can have a button click on one open page force a postback on a different page.
1
by: balakrishnan.dinesh | last post by:
hi friends, Im working javascript, In a page , i need to give multiple xmlhttp request in a single page sequencely, In case of IE browser it working fine, But incase of Netscape browser, first...
47
by: Max | last post by:
Due to the behaviour of a particular COM object, I need to ensure that a request for a particular ASP page is finalized before another request for the page is processed. Does IIS have a way to...
2
by: Otto Wyss | last post by:
On a page of mine a user might submit data several time, which adds an entry to the history each time (similar as http://www.google.com/trends?q=iPod%2C+iPhone&ctab=0&geo=all&date=all). Yet later...
5
by: Simon Benson | last post by:
Probably a fairly simple problem but one that's been plaguing me for a couple of days... can anyone help? I have a classic ASP page with a number of text boxes which are updatable. For...
3
by: Brett R. Wesoloski | last post by:
I am having problems using HttpContext.Current.Request.Url.Host. I have some code that does this... if (HttpContext.Current != null) { subdomain = HttpContext.Current.Request.Url.Host; }
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.