Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An overview of server side includes (ssi) technology, its syntax, examples, and considerations for use with active server pages (asp). Ssi allows webservers to parse html files and replace special codes with data, such as file timestamps. File includes, timestamp includes, ssi syntax, and considerations for using ssi with asp.
Typology: Slides
1 / 9
webservers.
special codes with data (e.g., file timestamp).
#include file="something.inc" -->
HTML comment indicators.
a space to avoid problems.
File Includes This works in all ASP pages on default NT Server configuration. Timestamp Includes This works only on .stm, .shtm, and .shtml files on default NT Server
configuration.
-^
SSI codes work on most UNIX servers.
-^
File includes supported in .asp pages on mostMicrosoft webservers -- other includes dependenton server configuration.
-^
On Windows webservers, try using .shm or .shtmlfile extension to support other SSIs
-^
If using FrontPage, consider using file includesupported by FrontPage Extensions.
includes for sharing code and variablesamong ASP pages.^ <%@ language=VBScript %><% option explicit %><%'Constants'Dims'Functions and Procedures%>
block or will be displayed.^ <% 'CONSTANTSconst BkgrndColor = '#ffffff'const TitleColor
= '#000000'
%>
the ASP code is interpreted.
Case 1: %><% Case Else: %><% End Select %>
extension for includes. But not a secure fileextension by default. Use .asp instead.
etc. to reuse code and increasemaintainability.