[bold]SYMPTOMS[/bold]
Document footers do not work with ASP files.
[bold]CAUSE[/bold]
This occurs because ASP files (and other ISAPI applications) feed their responses to the client directly and have control of keeping the connection open or closing it.
Because IIS cannot determine when ASP (or ISAPI applications for that matter) has completed its request, it cannot determine when to send the footer, or even if it has a connection to send it on.
[bold]RESOLUTION[/bold]
To resolve this problem, use .htm or .html files instead of ASP files, or add server-side include (SSI) directives to the ASP files to specify the footer file.
[end]
I don't know asp very well, but I work with ColdFusion and the Fusebox methodology (
and what we do is create a file for each site (at the site root) which contains global variables (like datasource name, etc). You could create something similar, specify the name of the document footer and then include that page in every other page on the site. Then at the bottom of each file include the value of the footer variable. That way if you change your footer's name you only have to change it in one page on each site.
Thanks for that xor - I knew that we had the option of SSI's or Include files, but that completely defeats the purpose of the IIS Document Footer feature :-(
But there is no alternative because, in this case, IIS is rubbish.
The M$ article made me laugh when it said "To resolve this problem, use .htm or .html files instead of ASP files"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.