PDA

View Full Version : SSI problems...sometimes


qwertyuiop
04-19-2004, 12:56 AM
I use SSI on my site, you know, like this: <!--#include file="file.html" --> Sometimes though, the parts that are being SSIed don't display, or don't display properly, making the whole page look awkward. After refreshing, the page looks fine. Why is this? Is it because of geocities, or internet explorer (6)?

also, can ssi be used ANYWHERE in the html? I only use it for the body, and Im wondering whether it can be used in the head also.

missing-score
04-19-2004, 01:20 AM
Im not sure about the first issue but I would be willing to bet its geocities. Secondly, as SSI is parsed at the server and then the final output sent, SSI can be used anywhere on the page.

Roy Sinclair
04-19-2004, 07:07 PM
Next time you get a page without the SSI code do a quick "view source" on the page and see if the code is there and just didn't get rendered by the browser which would indicate a browser problem (or a code problem, probably dealing with timing of events) or if the code is simply missing entirely which would indicate a need to switch to a better server because the one you're using is defective.

qwertyuiop
04-19-2004, 10:59 PM
oh yeah, i forgot to mention, the html is just incomplete. it doesn't have the </html> </body> and a lot of other stuff... it must be geocities then....