Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Professionals
|
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals 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 August 11th, 2009, 02:43 AM
Authorized User
 
Join Date: Nov 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sanjivbshinde
Default Redirect to other page but keep address same

Hello Friends,

Suppose my previous web site is hosted to following location
"http://www.hostA/default.aspx"

Now I have new hosting on

"http://www.hostB/default.aspx"

When client enter this URL http://www.hostA/default.aspx
then data must be coming from this http://www.hostA/default.aspx but URL can not be change. It should remain same as "http://www.hostB/default.aspx".
I don't want to use IFrame because Iframe's height and width will be a issue as we cannot make this browser & Resolution independant. We will have to use fix height and width for the iframe, which might result in double scroll bars appearing in the browser. One could be for Browser and second for the iframe.
Please suggest me any suitable solution for it
 
Old August 11th, 2009, 03:27 AM
Registered User
 
Join Date: Sep 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hi.huangls
Default

Suppose that you now have a page named "a.aspx",then you post data to "b.aspx",but the address is still "a.aspx",,you can use it like this:
Server.Transfer("b.aspx");

the adress is still stayed a.aspx
 
Old August 11th, 2009, 05:12 AM
Authorized User
 
Join Date: Nov 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sanjivbshinde
Default

Hi,
thanks for your prompt reply.
If what if that "b.aspx" page have links or post backs?
I don't want to change a.aspx page url any how.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Page redirect help jroxit Classic ASP Basics 7 August 11th, 2008 11:01 AM
redirect to page other than default page sarah lee ASP.NET 1.0 and 1.1 Basics 3 December 15th, 2006 05:45 PM
Redirect to new page without closing current page peter2004 ASP.NET 2.0 Basics 5 June 5th, 2006 08:49 PM
Redirect To New Page Ben Horne Flash (all versions) 2 March 26th, 2004 04:24 PM
Redirect page Warbird Classic ASP Basics 4 June 20th, 2003 07:51 PM





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