
entius
stranger
Jul 25, 2002, 4:25 PM
Post #2 of 3
(644 views)
|
Re: [hroldan] Stop scripts being cached
[In reply to]
|
Can't Post
|
|
hello, i had a similar problem with apache cache, in my case i loaded a frame into a web page, but when i changed the page loaded (it was the same page but the contents had changed, it was an exec-page) i didn't see any changes. For example, i click to see a citizien status, and i see he's a civil, then i change it to a doctor and i click again to see his status, then i saw that it still was a civilian :( I have solutionated this with javascript: function teamRegistry(idTeam) { document.all.teamInfoFrame.src = "cargando.html" document.all.teamInfoLayer.style.visibility = 'visible' document.all.teamInfoFrame.src = "perl/UserTeamCenter.pl?idFile="+idTeam setTimeout('torna2()',1000) } function torna2() {teamInfoFrame.location.reload(1);} And it works. Be careful (if it is useful to you) because i you put 10 instead of 1000 the reload is not effective and the problem persist. Any body knows a real way to eliminate all APACHE cache????? blogum
|