Shawn - You are right, but unfortunately that's the catch. If I do that then my code will work just fine locally. However, when I upload it to the server then sesi is no longer the name of the folder in which DBConn.asp is located. This means that I need to remember to change the code before going live.
My intention with this exercise is to make the local and remove code the same. I am currently doing that by using <!-- #include file="../../DBConn.asp" --> but that has the drawback where if the location of the file changes to a different level directory then the code will need to be altered to accommodate. Perhaps this will not be an issue to a great extent. I used to be Webmaster of 4,000+ pages, and whenever a group of things needed to be changed it normally involved at least numdreds of pages. In my new position we are only talking about hundreds of pages so the same situation could be handled much easier. The other difference is that since the old company hosted the site on our servers, setting things up the same was no problem. However, this is not an option for this smaller company. Bottom line is that I am just looking to minimize the possibilities of me screwing up. <g> Cheers - george --- In [email protected], "Shawn K. Hall" <[EMAIL PROTECTED]> wrote: > Hi George, > > > Thanks for the response. > > My pleasure. > > > > ...Virtual directory and created one called sesi > > which points to sesius. DBConn.asp is located > > within the root of sesius so I added the code > > '<!-- #include virtual="/DBConn.asp" -->'... > > This line should be: > <!-- #include virtual="/sesi/DBConn.asp" --> > > Regards, > > Shawn K. Hall > http://12PointDesign.com/ > http://ReliableAnswers.com/ ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/17folB/TM --------------------------------------------------------------------~-> --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
