Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 23rd, 2010, 08:16 PM
Authorized User
 
Join Date: Nov 2005
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default url redirect to another domain website

hi,
when users request http://test1.com/downloads, i need to redirect users to another diff domain or ip address

in asp.net 1.1/c#, can i do it thro' web.config (without compilation) or code? what are the options to do this? any adv/disadvantages using the suggested method?

pl suggest if any solution available.

thanks.
 
Old October 26th, 2010, 02:18 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

u can redirect user by JavaScript or ASPx too.
i have no idea about web.config.
JS:
Code:
window.href(...
ASPx:
Code:
Response.Redirect(...
__________________
Always,
Hovik Melkomian.





Similar Threads
Thread Thread Starter Forum Replies Last Post
URL Redirect based on given URL somnath.kartic VS.NET 2002/2003 1 August 2nd, 2012 08:21 AM
Redirect Url itHighway Classic ASP Basics 0 December 31st, 2009 10:50 AM
redirect url question newbie07 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 August 22nd, 2007 12:48 PM
URL Redirect Help david29118 Classic ASP Basics 3 April 3rd, 2005 06:09 PM
How do i retrieve the Domain name from a url flyin General .NET 3 August 11th, 2004 12:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.