Author |
Topic |
|
Gomer
Starting Member
21 Posts |
Posted - 10 May 2002 : 13:26:07
|
Hi,
I noticed that when I modify files that are included as SSI's on the default.asp page of my forum, that the changes are not made immediately when viewing the page through a browser.
For example, say I modify inc_top.asp to simply display "Hello." I add this to my inc_top.asp file:
Response.Write("Hello")
I then upload the file to my host. I reload the page, and won't see my new statement. I refresh the page again, and still nothing. I try different browsers, and still no dice. I double-check the file I've uploaded and verify that the change is indeed there, and I find that it is.
If I wait though, for a few hours, eventually the change will show up. If I then remove the modification, that change will not be reflected for another couple of hours. For some reason it seems like I have to wait for a couple of hours at least before I can see my changes when it comes to SSI's.
I was wondering if this was common behavior for SSI's? Or is this perhaps a host or browser issue? Is there some way I can force the updated include file to be reloaded? Or is there a setting on the server that controls this sort of thing? I'm kinda confused as to why its behaving this way. Any suggestions are appreciated. Thanks!
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 10 May 2002 : 13:56:22
|
I think this is a server caching issue. Some server's are configured to cache include files.
------------------------------------------------- Installation Guide | Do's and Dont's | MODs |
|
|
Gomer
Starting Member
21 Posts |
Posted - 10 May 2002 : 16:28:30
|
Ahh, so I take it that I need to talk to my host about changing this sort of thing? Its kind of annoying when I'm trying to test and see if a new mod works, but the Include files refuse to update themselves.
|
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 10 May 2002 : 16:31:19
|
you could try asking your host if they could do something about it, but if you're only testing then why not do it offline? I always test everything offline and when I'm sure it works I upload the files...
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Gomer
Starting Member
21 Posts |
Posted - 10 May 2002 : 17:44:43
|
Well, I don't currently have any sort of Web Server software installed on my computer at home, but its something I've been meaning to do for a while now. This is all the more reason to do it. Thanks for the suggestion.
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 10 May 2002 : 19:18:12
|
Sometimes you just need to stop and restart the web service. This used to be common in the earlier days of ASP, but from NT4 sp6a on I haven't run across cached pages getting in the way.
====== Doug G ====== |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 10 May 2002 : 20:35:25
|
Why don't you install PWS (Win 95, 98 and 98se) or IIS (Win NT, 2000 and XP pro)? It might not be ideal, and unsuitable for when you want to do your own hosting, but for testing purposes they're fine even with the limits PWS and IIS have (at least on Win2k pro).
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Gomer
Starting Member
21 Posts |
Posted - 10 May 2002 : 21:55:34
|
Actually, I just installed IIS this afternoon, and got the stuff running locally on my machine at home. I was able to test out the latest version of the "Active Users" mod locally, got it working, then uploaded it to my host, and, after a few adjustments, it worked like a champ.
Quick question: With IIS, do I have to use an Access database? I ask because my host runs MySQL, so when I test stuff locally on my machine at home, its tested against Access. I have to make a few tweaks sometimes to get things working correctly on the MySQL site. Not a big deal, but if I could run MySQL locally that'd be nice.
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 11 May 2002 : 01:06:10
|
You can download MySql from mySql.org, its free. You will also need MyODBC to connect to it on a Windows server.
Nathan Bales Snitz Exchange | Do's and Dont's |
|
|
|
Topic |
|