-
global script for all asp pages on a site
ok I need a piece of script to run for all my asp pages on my site. I want
to avoid the #include statement becuase this involves going through LOTS
of pages to insert it and I have to then remember to put this on new pages
too.
is there another way to define a global procedure that will run server side
for all pages?
any help would be appreciated.
-
Re: global script for all asp pages on a site
"mad fiddler" <x@x.com> wrote:
>
>ok I need a piece of script to run for all my asp pages on my site. I want
>to avoid the #include statement becuase this involves going through LOTS
>of pages to insert it and I have to then remember to put this on new pages
>too.
>
>is there another way to define a global procedure that will run server side
>for all pages?
>
>any help would be appreciated.
-
Re: global script for all asp pages on a site
and your response was?......
-
Re: global script for all asp pages on a site
Every example or article I've ever seen about code reuse talks about
#includes. If I were you, I'd invest the time putting it into your existing
pages, then make a template for future pages that includes the #include so
you won't forget it.
mad fiddler wrote in message <3a7956ca@news.devx.com>...
>
>ok I need a piece of script to run for all my asp pages on my site. I want
>to avoid the #include statement becuase this involves going through LOTS
>of pages to insert it and I have to then remember to put this on new pages
>too.
>
>is there another way to define a global procedure that will run server side
>for all pages?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks