I could find no way to make the DWT include the DOCTYPE header so I went into all my pages and manually inserted the code above the DOCTYPE header. What I didn't realize was that the DWT starts RIGHT AFTER the DOCTYPE header, so the code was never inserted into my pages. html and all are attached to a DWT (Dynamic Web Template), so I was updating all of them at once with Chris's code. I found that his code did indeed work when I used it EXACTLY how he had it with NOTHING else, but when I put it into my pages it didn't work. Turns out I had multiple issues working against me, but through due diligence I was able to eliminate those issues and emerge victorious.Īfter Chris updated his code to. I know I have seen pages that reload EVERY TIME the back button is used, HOW ARE THEY DOING IT?! I am open to ANY SUGGESTIONS that make this work without breaking other page functionality. I was putting it right at the very top of my page as well. I have also experimented with session_start() but even after reading the manual I am not sure I am using it right. and as you can see it is at the EXTREME top of my webpage, before the DOCTYPE header. When I use Chris's PHP code I use it like this. I have tried every suggestion thus far but I still cannot get this to work. What am I missing here? Pages are generated with PHP if that matters. Var e=document.getElementById("refreshed") and I have also tried the following JavaScript. I have tried every combination and permutation of meta tags that are supposed to stop a page from being cached, but Firefox STILL caches the page! I just need the URL to reload when a user presses the back button.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |