开发者

How to find out which page is the default?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜