Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Includ file must resave

Status
Not open for further replies.

801119

Programmer
Apr 10, 2000
311
SE
Greetings all!!


As I am a beginner with ASP I have one small question, to a problem I find most irretating!
in file index.asp I have included this line
Code:
<!-- #INCLUDE FILE=&quot;settings.asp&quot; -->
And sure enough, it do include this file.. but whenever I make changes in the &quot;settings.asp&quot; file I need to re-save all other files from which I am including &quot;settings.asp&quot;.
Why is so? and is there a way to get rid of this? cause I have this file in lots of pages and I really don't want to re-save them all.. takes to much time, and the chance I'll make a misstake while re-saving (i.e. removing a char) exists!

Should mention that I am using Apache Webserver 1.3.20 with Chili!Soft's latest ASP-thinga...whihc I downloaded from their site!

Thanks in advance,
/801119! My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work
 
801119,
you should not have to resave all of your pages. That is one of the key factors with includes is you can change just one file to affect many others instantaniously.

Perhaps it's an issue with chillisoft...I don't know, I haven't worked with it before. However, the fact of resaveing every file including the 1 is not required. That almost defeats the purpose of them. -Ovatvvon :-Q
 
thanks Ovatvvon,
I thought it would be something like that. But hoped there was a solution to it as well!! :)

-hope is the last thing that abandons mankind-

/801119 My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top