Don't Cache code doesn't work in Safari
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> works in Firefox and Camino to prevent caching of a site. In Safari three AND the new beta it doesn't. I'm constantly updating my website, but unless a refresh is forced by the viewer, he/she gets the old site, cached in the computer.
Anybody know a code which WOULD prevent Safari from Caching OR force Safari to refresh on opening?
There's a couple of extra headers you can try using:
http://www.webmasterworld.com/forum21/9880.htm
Similar Messages
-
I downloaded and paid for Lightroom 5 on my laptop then my laptop's disc went corrupt, now my serial code doesn't work. how can i get it to work again? i don't want to be paying for another copy
Are you able to get to the point where you can enter the serial number? If so, what happens?
-
How to use documentbeforesaved method? And why my code doesn't work in template files?
Can someone help me with these two codes?
----Beginning of code 1-------------
Private WithEvents App As Word.Application
Private Sub Document_Open()
Set App = Word.Application
End Sub
Private Sub App_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As Boolean, Cancel As Boolean)
MsgBox("BeforeSave")
End Sub
--------------End of the code----------------
Beginning of code 2--------------- Code 2 is from https://msdn.microsoft.com/en-us/library/office/ff838299(v=office.15).aspx
Public WithEvents appWord as Word.Application
Private Sub appWord_DocumentBeforeSave _
(ByVal Doc As Document, _
SaveAsUI As Boolean, _
Cancel As Boolean)
Dim intResponse As Integer
Private Sub App_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As Boolean, Cancel As Boolean)
MsgBox("BeforeSave")
End Sub
In the first code, they have:
Private Sub Document_Open()
Set App = Word.Application
End Sub
I test these two codes in "This document" object, and I find out the first code works but the second code are not!
Why second code doesn't work?
Extra question: I am using microsoft 2013. I insert this code into a macro-enabled template. But when I am about to save my file I am expecting these code works. However, they didn't work!
Thank you for solving these problem for me!Hello,
Please note that the code snippet 2 in your post is different from the code snippet in the MSDN document. Also please read the comments of the MSDN code sample:
This example prompts the user for a yes or no response before saving any document.
This code must be placed in a class module, and an instance of the class must be correctly initialized to see this example work; see
Using Events with the Application Object for directions on how to accomplish this.
Public WithEvents appWord as Word.Application
Private Sub appWord_DocumentBeforeSave _
(ByVal Doc As Document, _
SaveAsUI As Boolean, _
Cancel As Boolean)
Dim intResponse As Integer
intResponse = MsgBox("Do you really want to " _
& "save the document?", _
vbYesNo)
If intResponse = vbNo Then Cancel = True
End Sub
So the problem in your code snippet 2 is that you didn't put it into a class module and initialize the class module. If you just put it into ThisDocument, you have to initialize the word application object.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
ISF/javascript code doesn't work for non-English RequestCenter proile
ISF/javascript code doesn't work for non-English RequestCenter proile
Hello,
I am not sure if i posted the same question before also. We have some customers who have set thier language profile in newScale requestcenter to French. However, all the javascript customizations configured on the service forms do not function for 'French' as a Langauge preference. Has anyone encountered the similar issue before and can anyone please suggest a solution for it?
Thanks,
Mihirwe had a similar issue a while back where the Approval button was not working in Spanish, needed a fix from nS for it
The way to fix this would be to locate the language XML file, override the French caption with Submit and on onLoad write a global JS that would write the button label again (not so sure about this)
But really its an major defect and they should be able to fix it. -
Code Doesn't work although it works on DEV
hello evey body
some functions and codes doesn't work on application server But it works on developer ??!!
as i have code to export data from oracle to excell . it works from developer but it doesn't from application server
this is my code in the link
http://www.4shared.com/document/7wTQrK1-/Excell_Rep.html
does Application Server didn't contain this packages ?
or what ??Hi dorpfeld,
Please check the KB : http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html
I would strongly recommend that you work directly with our support team for serial number issues.
You can reach our chat support for serial number issues at : http://adobe.ly/1aYjbSC
Regards,
Rave -
the ussd code doesn't work on my iphon since i update to ios 7.0.3 what can i do for this problem?
Maybe
SOLUTION: circle with red square Some Music Won't Play After...: Apple Support Communities -
Mountain lion redeem code doesn't work!!!
Mountain lion redeem code doesn't work!!!
The codes got sent out pre-maturely on the 23rd to some folks. And now on the go-live those codes have been re-used.
https://discussions.apple.com/message/19014392?ac_cid=tw123456#19014392
In short - wait for a new email from apple. -
javascript doesn't work on safari desktop but works properly on Safari ipad. I already cleaned a cache without success. IE, FF and Opera are working well
Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Cheers, Tom -
I bought a CS for Windows and used it on Windows.
Now I bought a Mac and want to use it,
but the key-code doesn´t work.
How can I get a key-code wich works???Neither the keycode nor the Windows version of the software will work on a Mac.
You can only swap platforms for the latest version of Adobe products, which is currently CS6.
Order product | Platform, language swap -
XMLhttprequest doesn't work in safari
i have a website and it works fine in Internet Explorer, but the website doesn't work in Safari.
i use xmlhttprequest to get data from the database and that data i want to put in an selectbox.
i have multiple selectboxes and the first one i don't use ajax to get the data and that one works fine. but as soon as i use ajax it doesn't work anymore in safari.
this is the function i call to get the data.
function UpdateOrder(custid)
var xhrrequest = getXhr();
// Ici on va voir comment faire du post
xhrrequest.open("GET","ajax/UpdateOrder.php" +"?q=" + custid, true);
// ne pas oublier ?a pour le post
xhrrequest.setRequestHeader('Content-Type','application/x-www-form-urlencoded') ;
xhrrequest.send("bedrijfsnaam="+custid);
// On d?fini ce qu'on va faire quand on aura la r?ponse
xhrrequest.onreadystatechange = function(){
// On ne fait quelque chose que si on a tout re?u et que le serveur est ok
if(xhrrequest.readyState==4 && xhrrequest.status==200){
var string=xhrrequest.responseText;
var array=eval(string);
var tdaddress = document.getElementById("tdorderid");
var selectiebox = document.getElementById("selorderid");
if (array.length > 0)
//selectiebox vullen met straatnamen
var splarray = array.toString();
var strarray = splarray.split(",");
var i=0;
for(i=0; i< strarray.length; i++)
var oOption=document.createElement("option");
oOption.setAttribute(i,strarray[i]);
oOption.setAttribute('value',strarray[i]);
var oText=document.createTextNode(strarray[i]);
oOption.appendChild(oText);
selectiebox.appendChild(oOption);
i also viewed the errorlog and there it said:
Failed to load resource: the server responded with a status of 404 (Not Found)
INVALID_CHARACTER_ERR: DOM Exception 5: An invalid or illegal character was specified, such as in an XML name.
can anyone help me please?it works. there were some problems with the select box. the way it was created didn't work in safari and chrome. but now it does
-
HT5655 Flash still doesn't work with Safari.
I've done this repeatedly. Flash still doesn't work with Safari. It does work with Firefox and Chrome.
I deleted the Flash plugin from Library>Internet Plugins. That didn't solve the problem either.
What can I try next? Thanks.drwxrwxrwx 3 root wheel 102 Sep 1 2012 CANONiMAGEGATEWAYDL.plugin
drwxrwxrwx 3 root wheel 102 Sep 1 2012 DRM Plugin.bundle
drwxrwxrwx 3 root wheel 102 Sep 1 2012 DirectorShockwave.plugin
drwxrwxrwx 3 root wheel 102 Mar 2 08:17 Disabled Plug-Ins
drwxrwxr-x 3 root wheel 102 Mar 23 00:43 Flash Player.plugin
drwxrwxrwx 3 root wheel 102 Sep 1 2012 Flip4Mac WMV Plugin.plugin
drwxrwxrwx 5 root wheel 170 Sep 1 2012 Google Earth Web Plug-in.plugin
drwxr-xr-x 3 root wheel 102 Sep 25 2012 JavaAppletPlugin.plugin
drwxrwxrwx 3 root wheel 102 Sep 1 2012 OfficeLiveBrowserPlugin.plugin
drwxrwxrwx 3 root wheel 102 Jun 20 2012 Quartz Composer.webplugin
drwxrwxrwx 3 root wheel 102 Mar 19 23:30 QuickTime Plugin.plugin
lrwxrwxrwx 1 root wheel 68 Sep 1 2012 RealPlayer Plugin.plugin -> /Applications/RealPlayer.app/Contents/MacOS/RealPlayer Plugin.plugin
drwxrwxr-x 3 root admin 102 Apr 11 2012 Silverlight.plugin
drwxrwxrwx 3 root wheel 102 Sep 1 2012 ebldetect.bundle
-rw-rw-r-- 1 root admin 856 Feb 28 21:45 flashplayer.xpt
drwxrwxrwx 3 root wheel 102 Sep 1 2012 googletalkbrowserplugin.plugin
drwxrwxrwx 3 root wheel 102 Sep 1 2012 iPhotoPhotocast.plugin
drwxrwxrwx 3 root wheel 102 Sep 1 2012 npgtpo3dautoplugin.plugin
-rw-rw-rw- 1 root wheel 2394 Jul 21 2012 nsIQTScriptablePlugin.xpt -
CMD+ any shortcut doesn't work in Safari after upgrading to Yosemite
After upgrading from Mavericks to OS X Yosemite 10.10 not a single CMD+ shortcut works?!
For example CMD+tab works (switching between apps), ctrl+tab works (switching between tabs), but none of these work: CMD+W, CMD+Q, CMD+F, CMD+C, CMD+X, CMD+P...
They all work perfectly fine in all other apps. It's just Safari.
Does anyone have any idea why and how to fix this?I have a similar pb :
CMD+SHIFT+1,2,3,... doesn't work in safari.
I'm using "English interface" with "French keyboard".
following miladc advice and link (Shortcuts not working on Safari and Firefox),
I changed my Language pref to French ... so I got "French interface" with "French keyboard" ... and it worked once !!!!
But it works no more ... very weird
All I want to do, it's having shortcut for my bookmarklet ! -
Download doesn't work with Safari
Just a tip if you happen to be using Mac OS. It appears that the License Agreement
page doesn't work using Safari. Works fine with Camino, though.
Blake MeikeHi Matthew
Does the Activity Window work normally when Rapport is uninstalled ?
If so, I'm not sure what you could do beyond keeping it that way & watching for an updated version; or contacting
http://www.trusteer.com/support/report-problem & seeing what they say, since it might conflict with some other add-on. You've the same trouble in a new account ?. -
Paypal button doesn't work on Safari. but works on Firefox
I have over 100 pairs of "Add to Cart" buttons on my website. One of each is on the individual item page and the other is on my Order Form.
I have one button that works on the order form, but the identical button doesn't work on the individual page when using SAFARI, but works when I use FIREFOX!
I have recreated the button several times and put it in the proper place several times, saved the changes and republished. Still it doesn't work in Safari!
This must be a Safari issue not a PayPal issue
Any suggestions?If that's checked, see: How to perform a "clean install" of Flash Player in Mac OS X
-
Java doesn't work on safari / xp
Downloaded the latest Safari, 5.1.7, for Windows XP
Downloaded the latest Java, JRE as well as tried JDK, 7.04 and configured for IE and Safari.
Java.com test works on IE, but on Safari, refers to
C:\Program Files\Oracle\JavaFX 2.1 Runtime\bin\server\jvm.dll
There is no server directory, nor any jvm.dll anywhere in the Oracle install.
What's wrong??
Help!Ok, 3 days and no responses. I guess Java doesn't work on Safari/XP. Time to switch...
Maybe you are looking for
-
How to post the result of a formula in IP
Hi, Let's say I have 3 lines in my input ready query: Sales : $10 Cost of goods: $5 I want to post Margin = $5 (Sales - Cost of goods) I would like to post the formula for margin without using a macro or a planning function. Is there a way to post a
-
InDesign CS5 Not Responding When New Document is Opened
My InDesign immediately freezes and stops responding after I open a new document and move the cursor. The pinwheel appears and then eventually I have to force quit because it won't come back. I've never produced anything on this version of InDesign b
-
Strobe Media Playback, basic code not working with FLV file?
I am trying to use the following code with Strobe Media Playback swf 1.5: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"
-
Documents do not render in finder preview, quick look or cover flow
The contents of all types of appleworks documents do not appear in finder preview, quick look or cover flow on both of my computers. The generic AWKS logo appears. Why does this happen and what can be done to correct this? I have repaired permissions
-
Import Dialog not opening when Camera Card inserted
Have set this option in LR2 preferences. However as I also have PS Elements 6 this loader opens instead. Have set auto play for the card reader to open LR to no avail. Have tried re-installing LR no change. Using Windows XP. Alan