Using ASP (vbscript) pages for a website. Have multiple search forms. Example: Search Form #1 takes user criteria then submits to Page 2. Page 2 does the following:
1. Creates the WHERE clause of my SQL string with the user's criteria (validating and creating proper syntax).
2. Opens Access Database and retrieves Recordset of user's criteria.
So in Page 2, I have this extensive coding to parse my SQL string. I've created an ASP component (search.dll) function of this string to speed it up, but my web host won't allow custom components on their site. Is there any other way, using a standard web host, that I can move this coding into a function and/or compile it for speed and reuse? Or do I have to put the coding on the submitted page of every search form I have?
One more thing...I'm using vbScript not Javascript.
Thanks,
Mark
1. Creates the WHERE clause of my SQL string with the user's criteria (validating and creating proper syntax).
2. Opens Access Database and retrieves Recordset of user's criteria.
So in Page 2, I have this extensive coding to parse my SQL string. I've created an ASP component (search.dll) function of this string to speed it up, but my web host won't allow custom components on their site. Is there any other way, using a standard web host, that I can move this coding into a function and/or compile it for speed and reuse? Or do I have to put the coding on the submitted page of every search form I have?
One more thing...I'm using vbScript not Javascript.
Thanks,
Mark