Solved

Page redirect

Posted on 2009-05-16
2
240 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

792 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