DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    mad fiddler Guest

    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.

  2. #2
    poejo Guest

    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.



  3. #3
    mad fiddler Guest

    Re: global script for all asp pages on a site


    and your response was?......


  4. #4
    Kris Eiben Guest

    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?




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links