Solved

Page redirect

Posted on 2009-05-16
2
241 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
asp.net web application 3 45
asp Google Map 2 63
Regarding swagger API 1 37
vb.net, web page, SQL holding the selected data in an accessible variable 7 34
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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