Solved

Page redirect

Posted on 2009-05-16
2
239 Views
Last Modified: 2013-12-17
If i have an web address like

mydomain.com/requestedpage

i have rewrite set up to give

mydomain.com/Default.aspx?page=requestedpage

fairly simple

my issue is the the requested page can be different type and i want to know how to redirect the page with out the user knowing or is the a better way this so that

mydomain.com/requestedpage

could be


mydomain.com/Default.aspx?page=requestedpage

mydomain.com/Gallery.aspx?page=requestedpage

mydomain.com/Site.aspx?page=requestedpage

based upon information held in the Database about the page
0
Comment
Question by:amacleod1983
  • 2
2 Comments
 
LVL 11

Accepted Solution

by:
srikanthreddyn143 earned 500 total points
ID: 24402433
use server.transfer so the URL doesnt change
0
 
LVL 11

Expert Comment

by:srikanthreddyn143
ID: 24406111
Y B grade?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question