Hello,
I have a CGI script written in Perl that builds and sends HTML to the client browser. It works on many platforms including MS Windows.
I am wondering if there is a good way to have this CGI script also build ASP, somehow have the ASP processed by IIS and have the result sent to the client browser.
I have thought of having the CGI script create temporary .ASP files and redirect the client browser to the temporary .ASP files. I haven't tried this but am guessing this will work.
However, I'm wondering if there is a way to do this without creating temporary files.
For example, is it possible to have a CGI script call ASP.DLL directly, passing it a string containing valid ASP code? Or, is there an "eval" function in ASP that allows me to pass it valid ASP code and have it return the result of interpreting the ASP code?
I have looked through some books on ASP but haven't yet found any descriptions of doing something like this.
Any suggestions would be greatly appreciated.
Richard
I have a CGI script written in Perl that builds and sends HTML to the client browser. It works on many platforms including MS Windows.
I am wondering if there is a good way to have this CGI script also build ASP, somehow have the ASP processed by IIS and have the result sent to the client browser.
I have thought of having the CGI script create temporary .ASP files and redirect the client browser to the temporary .ASP files. I haven't tried this but am guessing this will work.
However, I'm wondering if there is a way to do this without creating temporary files.
For example, is it possible to have a CGI script call ASP.DLL directly, passing it a string containing valid ASP code? Or, is there an "eval" function in ASP that allows me to pass it valid ASP code and have it return the result of interpreting the ASP code?
I have looked through some books on ASP but haven't yet found any descriptions of doing something like this.
Any suggestions would be greatly appreciated.
Richard