开发者

How to find out which page is the default?

开发者 https://www.devze.com 2023-02-03 22:12 出处:网络
Is there a generic way out there to find out开发者_Go百科 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:

Is there a generic way out there to find out开发者_Go百科 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());


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号