locked
Combining libraries RRS feed

  • Question

  • User1552457951 posted

    I have added simple logging to my functions library which requires a class to work. When I use an include link (<!--#include file="./system_logger.asp" -->) it displays a "name redefined" error. GREP was used to remove all references to the class file except in the function library.

    How do I include a class file reference in an external library?

    Tuesday, March 1, 2016 4:45 PM

Answers

  • User1278090636 posted

    Hi,

    If you use the file keyword to include a file, you need to use the file path with the syntax (\). So you need to change the file path from “./system_logger.asp” to “.\system_logger.asp”.

    You can learn more about how to include files in asp page in the following link.

    https://msdn.microsoft.com/en-us/library/ms524876(v=vs.90).aspx

    Best Regards,

    Jean

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Wednesday, March 2, 2016 2:46 AM