Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Include files don't load properly - refresh?

Status
Not open for further replies.

KarlZ

IS-IT--Management
Mar 4, 2003
5
0
0
SE
Hi.
I have a number of pages with several include-files (and some other stuff as well). They load just fine sometimes, and sometimes none of them appear.

I´d like to know why that is...?

The pages use the same includes because I only want to update in one place. Once the page has "lost" the included files, they don't appear in the other pages eiter.

Has this anything to do with cache?

If I Shift-refresh the page loads allright again, but since the visitor doesn't know anything is missing (it's just gone) they won't refresh on their own. And that's not what I want. Naturally I want the page to load correctly at once. So, what do I do?

Meta don't seem to work.

The pages I have are asp.

Any suggestions are very welcome.
(I need quite clear examples of code - I'm not good at scripting...)
;-)
 
Do we get to see the problem page?

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
The page basicly looks like this:
------------------
<%@ Language=VBScript %>
<html>
<head>
<title>MyPage</title>

<link href="../css/default.css" rel="stylesheet" type="text/css">
</head>

<body width="100%" topmargin="0" leftmargin="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" background="/images/main_bg.gif">

<table width="300" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<!--#include file="../ann/ad1.asp" -->
<!--#include file="../ann/ad2.asp" -->
<!--#include file="../ann/ad3.asp" -->
<!--#include file="../ann/ad4.asp" -->
</td>
</tr>
</table>
</body>
</html>
------------------
I might also add...
1. that this page is loaded in a frame.
2. The included files has been stripped from all html-head etc-tags,
3. The included files also have if date-coding to show diffrent things on specified dates.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top