Search All Forums
Dart Home | PowerTCP WebServer for ActiveX | Custom Development Reply | PowerTCP WebServer for ActiveX Topics | Forums   
AuthorForum: PowerTCP WebServer for ActiveX
Topic: Server-side includes

From: San Clemente, CA USA
Posts: 73
Member Since: 11/03/03
posted August 12, 2009 3:33 PM

Does anyone know how to do server-side includes using the webserver control? Like the format:

<!--#include file="Includes/Top-Javascripts.html" -->

Jason Farrar (Admin)

From: USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted September 1, 2009 3:44 PM

When the Get event fires for the WebServer control you would need to do something like:
 1. Search the web page html for include statements.
 2. Open the file designated by the include statement and read in it's contents.
 3. Replace the include declaration with the contents of the file to be included.

That's just a general outline there may be things I've over looked but it isn't an automatic process.

-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.

Reply | PowerTCP WebServer for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX