General information
Category:
Internet applications
You cannot call an ASP page from FoxISAPI, just as you cannot have ASP call a FoxISAPI page. Only one pre-processor is allowed. The web server will pass off the request to only one recorded system, either the asp.dll or the foxisapi dll. I suppose you could use a response.redirect call from FoxISAPI.
In either ASP or FoxISAPI code, a response.redirect sends a header to the browser telling it what page to request, and the browser then dutifully requests that page (causes a needless round-trip which is fixed with Server.Execute available with IIS5). This way you could have the FoxISAPI page send a redirect to an ASP page. This is kludgy because you can have issues with session variables (if you log into a FoxISAPI session, that same login is not available in the ASP session, etc.)
>Hello,
>
>I have developed a working FoxISAPI server that returns HTML, but to include my ActiveX component, it must be generated in an Active Server Page.
>The way the object works is this: You specify the property settings (columns, style, values, etc...) within the ASP code, and upon processing (the .asp document), the chart data is written to a temp file, which is used when the object is created in the OBJECT tag of the new HTML file.
>I have tried one thing that works, but it seems "kludgey": My server writes the .asp file, and then returns an .html file with a hyperlink to it. I can't help but feel that there's a better way (especially since I'm very new to all this)
>Any ideas?
>Thanks!
>Mark
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only