contents   index   previous   next



Server Side Includes

 

Server-Side Includes (SSI) gives the HTML author a mechanism for substituting SSI directives with the text returned by WebX. You can think of this as an In-Line Replace function. Tags allow the HTML author to instruct an application built with WebX to dynamically insert content into the HTML output sent to the client.

WebX can accept CGI Environment Variables and SSIs in two ways:

 

• The standard directive method. For example, if <!-- #echo Date --> is inserted into an HTML page, WebX will substitute the current date and time before sending the page to the client.

 

• The shorthand ASP style method could also be used. <%=Date%> will also substitute today's date and time in the page returned to the client.

 

Note: There is a space after the opening directive "<!--" tag. Extra or missing spaces will be ignored by WebX's parsing engine, but HTML page authors should include them to make their HTML pages more portable.

Supported Include Tags