code modules

Results 1 to 2 of 2

Thread: code modules

  1. #1
    dafunk Guest

    Default code modules

    hi<BR>is there a way or place to store functions like in vb code modules.For example i need to validate email addresses in different pages, it would be handy if i could have the function in an external source and then just call the function.I know i can embed it as normal into page but for multiple pages this becomes tedious and time consuming.<BR>by the way strange forum

  2. #2
    Join Date
    Dec 1969

    Default Haven't heard of include files?

    I think there are a handful of ASPFAQs (link at top right of this page) on the topic of includes.<BR><BR>You can&#039;t precompile the modules, but at least you can just include the source code (very similar to a C/C++ include). The precompiling isn&#039;t that big a deal, anyway, as "hot" ASP pages will remain in a cache in precompiled form, automatically.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts