How to prevent caching?

the browser caches the information and so i have to do a refresh every once in a while to update the dynamically changing information.

hello
it kinda doesn't work
you see, i have links sorted according to the number of hits.
This is how it looks like for example
Link1
Link2
Link3
Link4
now if lets say Link2 has 10 hits and Link3 has 9.
If i click Link3, then the hits become 10 and if i click it again, it becomes 11.
but it still looks like above when its supposed to be
Link1
Link3
Link2
Link4
it doesn't show the right order until i refresh the page.
and the thing is, if i don't refresh the page, then when i click Link3, it shows the url of link2....

Similar Messages

  • Adobe AIR - How to prevent caching?

    Hello,
    We use Adobe AIR as a one-site-browser for our users.
    which means that all of the content and data reside in our server and all they have, installed on their PC, is an iframe.
    From time to time we encounter issues with users who can't get our application working, or get an older version of our pages.
    What we saw after investigation is that the pages are being cached and stored in the Temporary Internet Files folder (where IE keeps its cache).
    When the user try to clear the Browsing History from inside IE it does not clear our pages from the cache, only manual delete works.
    We tried to add the following meta to our pages with no success:
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
    The manual deletion is not a solution, is there a way to make Adobe AIR not to save our pages (.html and .js files) in the cache?
    Please Advice,
    Uri

    Hello Jeff,
    Thank you for your quick respond.
    I'm not sure how can I implement what you've suggested.
    As I mentioned on my original post, I use Adobe AIR as a "gateway" to a special area in our website.
    Which means basically that all that there is in the AIR application is an iframe.
    I don't know how can I implement the cacheResponse and useCache properties if all I have is an iframe.
    Please help,
    Uri

  • How to prevent caching of Http Authentication

    Hello all,
    I'm having trouble with a custom wrapper for the URL object that I wrote which is to be run from a multi-threaded program. Basically what I have is an application server that interacts w/ native code through message queueing. As the application server gets a request from the queue it starts a thread that invokes my URL wrapper. My URL wrapper has code to set the authentication (userid/pwd) based on info given from the app server which is read from the queue. It all works fine until the credentials change (a new user/pwd). The credentials from the 1st request are used. I'm betting that even if I use my wrapper object single threaded it won't work because it doesn't seem to allow the credentials to change. The only way I know of setting the credentials is through the default authenticator and it doesn't seem like this object is subject to change.
    The following is a subset of my custom URL wrapper object:
    public class HttpRequestObject
         private URL urlObj = null;
         private StringBuffer urlString = new StringBuffer();
         private InputStream input = null;
         private URLConnection urlCon = null;
         public HttpRequestObject(String url)
              urlString.append(url.trim());
         private class HTTPAuthenticator extends java.net.Authenticator
              private String userid;
              private String password;
              public HTTPAuthenticator(String name, String pwd)
                   userid = name;
                   password = pwd;
              protected java.net.PasswordAuthentication getPasswordAuthentication()
                   return new java.net.PasswordAuthentication(userid,password.toCharArray());
         public boolean openConnection(String name, String pwd)
              java.net.Authenticator.setDefault(new HTTPAuthenticator(name,pwd));
              return this.openConnection();
         public boolean openConnection()
              try
                   urlObj = new URL(urlString.toString());
                   urlCon = urlObj.openConnection();
                   input = urlCon.getInputStream();
                   return true;
              catch(Exception e)
                   System.out.println(e.getMessage());
                   e.printStackTrace();
                   return false;
              finally
                   java.net.Authenticator.setDefault(new HTTPAuthenticator(" "," "));
    }I'm not comfortable with this design at all because it feels too disconnected. There appears to be too big a possibility of credentials being shared between threads where each thread should maintain its own set of credentials. Please help.
    Cliff

    Hallo,
    you have to ask for new username and password in your getPasswordAuthentication() or you have to set your new username and password in your getPasswordAuthentication. You don't have to use a new Authenticator object in order to authenticate a different user. That won't work.
    Take a look at this site, there you will see, how to create your own Authenticator: http://java.sun.com/features/2002/11/hilevel_network.html
    Hope this helps,
    Hobster

  • How to prevent caching of URL?

    Hello,
    I have an application developed using Flex SDK 3.2 that calls a java servlet using navigateToURL. The servlet returns a generated PDF file, but after the first call the response is getting cached. I'm not sure if this a problem with Flex, Java or Tomcat. I have tried setting response parameters in the servlet (seHeader("Pragma","no-cache")) etc and tried a similar approach in the client - new URLRequestHeader("pragma", "no-cache");.
    Anyway, no matter what I do I can't stop the caching and I;m hoping someone can help.
    Thanks.
    JJ

    You can append the random number to the url something like this
    var str:string = "http://someurl.com?rndm="+Math.random()*100

  • How to prevent the Firefox cache from clearing -- all settings are right, but the cache is gone after each restart.

    I want to prevent cache from being deleted after each restart. "Clear history when Firefox closes" is unchecked. User.js files are deleted. Checking "Override automatic cache management" made Cache folder appear in addition to Cache2. After exiting Cache is still there, but upon Firefox re-launching, Cache turns into Cache.Trash and promptly disappears. What to do?

    Hello,
    I'm sorry to hear that. Can you please try these solution to address your concern.
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from [https://www.mozilla.org mozilla.org] (or choose the download for your operating system and language from [https://www.mozilla.org/firefox/all/ this page]) and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (or open the Firefox menu [[Image:New Fx Menu]] and click the close button [[Image:Close 29]]).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [[Troubleshoot and diagnose Firefox problems#w_5-reinstall-firefox|here]].
    <b>WARNING:</b> Do not use a third party uninstaller as part of this process. Doing so could permanently delete your [[Profiles|Firefox profile]] data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be easily recovered unless they have been backed up to an external device!</u> See [[Back up and restore information in Firefox profiles]]. <!-- Starting in Firefox 31, the Firefox uninstaller no longer lets you remove user profile data.Ref: Bug 432017 and https://support.mozilla.org/kb/uninstall-firefox-from-your-computer/discuss/5279 [Fx31] Windows uninstaller will no longer offer the option to remove personal data -->
    Please report back to say if this helped you!
    Thank you.

  • How to prevent computers to logon remote site's domain controllers

    Hi,
    We have 3 sites (HQ, remote site A and remote site B) in a Windows 2008 r2 domain, the clients are win XP and win 7, if remote site A's DC and HQ's DC are offline, we don't want remote site B's DC to authenticate
    remote site A and HQ client, how to prevent remote site B's DC to authenticate remote site A and HQ client except remote site B local client?
    Regards,
    Ray NG.

    You might consider configuring ACLs on your firewalls and network equipment to filter this traffic. However, the idea of having multiple DCs is to have HA while in this case you are trying to avoid having benefit of this feature. For Windows clients, they
    will keep using cached credentials as long as they cannot reach a DC for authentication.
    If you would like to configure ACLs to achieve that, please do not restrict the communication between the DCs themselves.
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Get Active Directory User Last Logon
    Create an Active Directory test domain similar to the production one
    Management of test accounts in an Active Directory production domain - Part I
    Management of test accounts in an Active Directory production domain - Part II
    Management of test accounts in an Active Directory production domain - Part III
    Reset Active Directory user password

  • Prevent caching of JARs

    Dear Friends,
    somtime I actualize my JAR-Files.
    And I don't want that the user has to delete his java-Cache, etc. - That's not acceptable for that group of users.
    How can I prevent caching of my JAR-File?
    The JAR is only 70 kb big and wouldn't disturb.
    Well, actually I use a meta pragma nocache - but does that really help?
    Is there a secure way to prevent the caching to the harddrive (after a browser-session) ?
    Thank you!
    With best regards
    MfG
    Inno

    Dear Friends,
    somtime I actualize my JAR-Files.What is that trying to say ?
    Does your jar have feelings and dreams - is it trying to better itself ? (Sorry I couldn't help, just did a psych test ;-P )
    In all seriousness it would help if you explain what type of program this is, what you mean by caching jars, and why it is an issue.
    And I don't want that the user has to delete his
    java-Cache, etc. - That's not acceptable for that
    group of users.
    How can I prevent caching of my JAR-File?
    The JAR is only 70 kb big and wouldn't disturb.
    Well, actually I use a meta pragma nocache - but does
    that really help?
    Is there a secure way to prevent the caching to the
    harddrive (after a browser-session) ?
    Thank you!
    With best regards
    MfG
    Inno

  • WLS 5.1 and prevent caching on cache server

    Hi,
    Is there any method to prevent caching for *.jar files or any other
    static resources on client side cache server ?
    It seems to be possible by making filter programs that insert
    statement <meta http-equiv="Pragma" content="no-cache">
    into http response header if using WLS 7.1
    but we are using WLS5.1 SP13.

    I'm running native io. How would I use green threads with jdk1.3?
    I didn't think I could.
    thanks,
    lisa
    Chris Shipman <[email protected]> wrote:
    are you runing native io, or running green threads? try
    green threads.
    Lisa Klag wrote:
    I'm having problems getting WLS to run under JDK 1.3.I keep getting
    the following exception:
    Tue Feb 27 15:55:00 GMT+00:00 2001:<A> <SSLListenThread>ListenThread.run()
    failed:
    java.lang.UnsatisfiedLinkError: /opt/weblogic/5.10/lib/linux/libweblogicunix1.so:
    /opt/weblogic/5.10/lib/linux/libweblogicunix1.so: undefinedsymbol:
    makeCString
    at java.lang.ClassLoader$NativeLibrary.load(NativeMethod)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.platform.Unix.<init>(Unix.java:14)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.platform.OperatingSystem.getOS(OperatingSystem.java:77)
    at weblogic.t3.srvr.T3Srvr$1.run(T3Srvr.java:1160)
    at weblogic.t3.srvr.Callback.done(Callback.java:37)
    at weblogic.t3.srvr.SSLListenThread.newServerSocket(SSLListenThread.java:474)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:245)

  • How to prevent an error of [WIP work order ... is locked-]

    Hello experts
    Can someone tell me how to prevent an error which [The WIP work order associated with this transaction is currently locked and being updated by another user.  Please wait for a few seconds and try again.Transaction processor error].
    How can you prevent that error?
    P.S.
    Oracle support told me [When you make data of mtl_transaction_interface, give same transaction_header_id to all data. Then, you kick worker with appointed transaction_header_id. Or, you set up being uncompatible with workers].
    I cannot allow that making with same transaction_header_id and being uncompatible with worker on my system.

    Hi santosh,
    You can implement badi BBP_DOC_CHECK to check vendor email and issue error message.
    Kind regards,
    Yann

  • How to prevent PO changes in ME22N after Order acknowledgement?

    Hi everyone,
            Can anyone tell me how to prevent PO changes (ANY) in ME22N after Order acknowledgement?
            I would like to make it possible without release strategy process or authorizations.
            Do you know some User Exit or Customazing way?
    Regards.
    Jaime S.

    Dear Jaime S,
    You can do this by restricting in authorization SHDO and also by marking "changes not possible after release" in Release strategy procedure.
    And also you can navigate the menu to, SPRO------>IMG------>Material Management--->Purchasing(OLME)------->Purchase Order---->Define screen Layouts at Document Level---->And go to ME22n And Select the right parameter and in this you can make it display, optional or required entry for the fields.
    Regards,
    Manjunath B L

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • How to prevent a solaris user to telnet from multiple computers

    Hello,
    How to prevent Solaris users to telnet from multiple computers? They should be able to telnet from only one PC.
    Please help..

    ora_tech have a good point, i was about to suggest ipfilter, which is a built-in-firewall in Solaris, but using tcp wrappers would probably be easier. It all depends on which level of security you want (blocking the telnet requests in a firewall would generally be safer than blocking them at the tcp wrapper level, since its prevents some processing).
    Since Solaris 10 you can also easily enable tcp wrappers on the inetd services with inetadm, see:
    http://blogs.sun.com/gbrunett/entry/tcp_wrappers_on_solaris_10
    .. for more details..
    .7/M.

  • How to prevent iTunes for Windows from "Updating iTunes Library"? (Library is on a NAS and managed by iTunes for Mac. Now getting update wars between Mac and Windows versions of the player.

    How to prevent iTunes for Windows from "Updating iTunes Library"?
    My library is on a NAS and managed by iTunes on a Mac. I can connect from wife's Windows laptop using iTunes for Windows but every time I do, it Updates iTunes Library. Next time I log in from my Mac it Updates iTunes Library in return. It appears I'm experiencing "Update Wars" between the Mac and Windows versions of iTunes. I would like to allow my wife to stream iTunes songs to her new laptop but I don't want any updates from this source... prefer to manage the library from my Mac and not allow Windows to do any thing other than listen to existing playlists.
    Thanks for any help/suggestions.

    Connect the PC to the library on the NAS. Wait while "updated".
    Under Edit > Preferences > Advanced make sure the media folder is correctly pointed at the media folder on the NAS. If not correct, close iTunes, wait a few moments, then open iTunes again.
    Close iTunes on the PC. Do not open iTunes on the Mac.
    Copy the library files, iTunes Library.itl, iTunes Library Extras.itdb, iTunes Library Genius.itdb, sentinel and the folder Album Artwork into an empty iTunes folder on the PC, for example C:\iTunes.
    Click the icon to start iTunes and immediately press and hold down SHIFT. Keep holding until prompted to choose or create a library. Click choose and browse to the copied .itl file, e.g. C:\iTunes\iTunes Library.itl
    The library should now work properly on the PC, however check the setting for the media folder. If needs be correct, close iTunes and reopen.
    Open iTunes on the Mac. It will update again, but that should be last time.
    tt2

  • How to prevent others use their iDevices to remote control apple tv?

    Hi All,
    I'm wondering that does anyone know how to prevent others use their iDevices to remote control my apple tv?
    settings
    1. the apple tv is in the school.
    2. all students could access the Internet
    3. The apple tv is sharing the same Internet with students.

    Welcome to the Apple Community.
    The remote app uses homesharing, therefore anyone wanting to control an Apple TV with the remote app would need to know the home sharing ID and password.

  • How to prevent apps from syncing in the new version of itunes?

    Hey there.
    I brang my macbook to Applestore cause it had a problem and they downloaded the latest version of itunes. Everything's fine and my music, videos and apps are in the new itunes like before. But now, when I want to sync my iphone, a pop window asks me to give the password of the itunes account I used to download some of my apps or it will delete them and their data. The problem is that one of these accounts is an old friend's one and I actually lost all contact with him. So basically now I can't sync my iphone at all or it will delete all my apps.
    Has anyone any idea how to sort that out? Or at least knows how to prevent apps from syncing in this new version of itunes?
    Thanks for your help

    Onthe top menu
    View > Show Status Bar.
    The grey bar will now appear at the bottom with the info you want

Maybe you are looking for