global script for all asp pages on a site


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: global script for all asp pages on a site

  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?




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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center