Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 July 1st, 2005, 10:04 PM
Registered User
 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default SET DEFAULT PAGE

Hi Friends,
we know in asp.net the default.aspx is the default page for any website. can we change this default page like login.aspx, index.aspx or some else. frnds suggess me the right method of how user can set any page to defalt page

suresh dev

Asp.net expert with sql-server
 
Old July 2nd, 2005, 02:57 AM
Authorized User
 
Join Date: Feb 2005
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ashokparchuri Send a message via Yahoo to ashokparchuri
Default

hi,

    I got a same problem when i launch my application.I just want to redirect the enduser to Home.aspx.

    I tried a lot to do this as default.i compiled so many times setting the home.aspx as my default page ,In my loccal machine it is working properly...but in server it is not..

      so i just redirected from default page with response.redirect tag.Now it is working fine

      I would like to know the better solution for this
-Ashok Parchuri
 
Old July 2nd, 2005, 03:02 AM
Registered User
 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i think it is the setting of virtul directory, there is added bydefault an page default.aspx and a option of to "ADD" and "Delete" we can use it for settings of any page to make default page of website. but it is working properly on local machine. we have to do same setting as this on server machin. but i m not much comfirm abt this

Asp.net expert with sql-server
 
Old July 4th, 2005, 08:31 AM
Authorized User
 
Join Date: Nov 2004
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to avanishp
Default

Hello

Yes that we can do in IIS settings for that virtual directory:
in IIS
right click on virtual directory--->Properties----->click on document Tab----Add your page for default by click on Add button---> move it to top of list.

this will make your page default

 
Old July 5th, 2005, 02:54 AM
Authorized User
 
Join Date: Dec 2004
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, Avinash said correct. You can even add new page like login.aspx and move to top.

bdl





Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I set default theme for all users? gujju BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 January 18th, 2008 10:25 AM
set the default page as login ramkiran ASP.NET 2.0 Basics 1 April 22nd, 2007 10:59 PM
how do i set default parameter value.. rupen Classic ASP Basics 5 January 5th, 2007 12:14 AM
XMLDOM default character set sonicDace XML 0 May 21st, 2004 03:09 PM
how to set parameter default value oranginalab Classic ASP Basics 0 August 28th, 2003 02:53 AM





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