Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a FoxISAPI server generate Active Server Pages?
Message
 
To
08/12/1999 15:55:28
Bob Lucas
The WordWare Agency
Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00300478
Message ID:
00300588
Views:
25
Thanks, Bob!
Do you know of other ways (or other Chart products) where I can change property settings on a chart object?

>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
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Previous
Reply
Map
View

Click here to load this message in the networking platform