marcwolf
Posts: 361
|
Posted: 01/23/2004, 2:03 PM |
|
We have developed some custom libraries that we use with our ASP apps.
They are written in pure ASP so in essence they are like any of the common ASP Codecharge libraries.
Is there wa way we can tell CC to load these in everytime a new page is created.
It will save a few hassles in reducting the number of things to do when creating pages.
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
|
|
peterr
Posts: 5971
|
Posted: 01/23/2004, 2:25 PM |
|
Hi,
You should be able to include your library in Common.asp, for example:
<!-- #INCLUDE FILE="YourLibrary.asp" -->
I usually place custom code at the end of Common.asp, thererfore maybe please try this first.
If for some reason you need to place it at the beginning, please do not modify the generated code-block area identified by gray background in the CCS code editor. Instead, add your custom code inclusion in the code area with the white background, for example after:
<%
Option Explicit
enter:
%>
<!-- #INCLUDE FILE="YourLibrary.asp" -->
<%
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
marcwolf
Posts: 361
|
Posted: 01/23/2004, 5:59 PM |
|
Thanks..
I have been doing anyway.
What I'd like more is a solution that I can include these files in the project, and they are part of the project, and are copies onto the server as part of the project.
But - they are just ASP files.
I have been thinking of directly modifying the CCS file where you already have the common files listed to see if that will work - by adding in our own files
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
|
|
|