dexter
dexter

Reputation: 7203

How to find out which page is the default?

Is there a generic way out there to find out which page of an asp.net 3.5 application running under IIS 6.0 (yea I know boring stuff) is the default one so I can do something like this:

   Response.Redirect(Helper.GetDefaultPage());

Upvotes: 2

Views: 959

Answers (1)

Brandon
Brandon

Reputation: 69993

You could just try doing Response.Redirect("/"); which will send them to the root and let IIS handle figuring out which page is the default.

Upvotes: 4

Related Questions