Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 20th, 2007, 03:50 AM
Registered User
 
Join Date: Feb 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to set two web pages as "Start Page"

I am working on an website.I want to set one "start page" at user end and another page for the admin module .How can I simultaneaously set two pages as start page? The pages for admin module are in seperate folder.
Can any one help?

Thanks & Regards
Monikanit
 
Old November 20th, 2007, 08:50 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

well.. how do you expect to know who is connecting?? I think you are doing the wrong question... you have only one start page..

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old November 20th, 2007, 09:52 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

The only way you can hope to achieve this is if you have your admin module in a seperate directory.

You can set IIS default document for a website to default.aspx, for example, so when someone goes to: www.mydomain.com IIS will serve up default.aspx that exists in the root of your website. Now if someone were to go to www.mydomain.com/admin/ again default.aspx would be served up but this time it would be the default.aspx page that exists in the root of the Admin folder.

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========
 
Old November 20th, 2007, 12:33 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

When you say "start page", do you mean "Default Document" in IIS Configuration?

You CAN set different default documents in different folders under a web site in IIS configuration. Just go to the Documents tab of the folder's properties in IIS manager.

-Peter
 
Old November 20th, 2007, 12:39 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Thanks for the correction Peter. =]

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Reset "Set as Start Page" RobC Visual Studio 2005 2 September 20th, 2006 01:38 PM
How to set up a dedicated server for my web pages johnsonlim026 ASP.NET 1.0 and 1.1 Basics 0 August 11th, 2005 12:12 AM
"Set as start page" www2004 ASP.NET 1.x and 2.0 Application Design 1 June 1st, 2005 02:27 PM
Page Breaks In Web Pages Ben Horne Dreamweaver (all versions) 5 August 8th, 2004 04:04 PM
Web pages constructing: I-mode(mobile) pages karib Dreamweaver (all versions) 3 June 6th, 2004 09:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.