My database name is npap and I compile my UDFs into the file npap.aex located in the working directory (folder name is npap). I do not copy the aex file to the npap\npap.webprojects\default.webproject folder. I have many UDFs referenced in my web components and web pages. I have been loading the compiled UDFs on every page with the standard function: a5w_load_aex("[PathAlias.ADB_Path]\npap.aex") but have discovered that it adds 8 seconds to the page load time. Since I do not care about hiding the code in my UDFs I removed the a5w_load_aex command from all web pages and every thing runs fine. But I am confused. I assume that the UDF code is loaded into the web page or component when the page or component is published and not when the page is generated by the server before sending to the client. I assume this because I can not see how the server would know where to find the UDF with out the reference to [PathAlias.ADB_Path]. I would appreciate it if someone could enlighten me as to how a web page gets the UDF code other then by using a compiled library.
Thanks,
Irwin
Bookmarks