Clear Page cache

Hello,
I have a small question
In my application, i have a Quick Search page, where the user can search throug all the data. On this page I have a 'Clear Cache For Current Application' process, and I call it on Once per session, or when reset pressed.
The problem is that when the user goes to another page in the application, and then get back to that search page, the old searching results are still there.
I would like to clear the page every time, when the user navigates to some other page, so that when the go back to the search page, it will be clear.
I have a solution for that problem, but it is too clumsy. I created a Clear process on all other pages, so that when the user opens them, the search page is automatically cleared. But I have to clreate this clear process to every single other page.
Do you think there is some other earier way to get the page cleared after navigating away from it?!?
Thanks in Advance
Tsveti

Hi Scott,
I tried to do something like that, but i guess I am not doing something right... It just is not workin...
thats what i am doing:
I created a new process on the search page
Type:      Clear Cache for all Items on Pages (PageID,PageID,PageID)
Put Search Page# as sorce (33)
then on 'Conditional Processing' selcted 'Current Page is NOT in Exp 1'
And there i put again 33 (search page number)
And when i navigate to some other page, and go back to the serch page, it still doesnt clear it.
I tried without condition, and it clears it on every load/refresh...
I dont get what m i doing wrong.....
Message was edited by:
Tsveti

Similar Messages

  • Clear page cache every time page is opened

    I have a menu page in Apex that points to 10 report pages. However each page retains the values in parameters. How can I clear the page cache every time I go from menu to individual report page? I see the CLEAR_PAGE_CACHE procedure but don't know where to place the call. I guess I haven't understood the event model of the Apex completely yet (I am from the Oracle Forms background).
    Jay

    Jay,
    You don't say how these links on the menu page are constructed. If you are using an apex list then for each list entry there would be a target page section in which you would put the target page ID in the Clear Cache field. For example, if the link goes to a page in the current application, say page 10, then you'd put 10 in the Clear Cache field.
    If you are building a link yourself, just put 10 (for page 10) in the clear-cache position of the f?p URL, e.g.,
    f?p=&APP_ID.:10:&APP_SESSION.::NO:10:P10_ITEM:&SOME_ITEM.
    Scott

  • Clear page cache - All except specific items

    APEX 4.2.1
    On a page with dozens of editable page items, when branching back to the same page on-submit, is there a way to clear cache for all items except a few (key) items? The branch attributes (via the f?p= syntax) support clearing cache for the entire page and setting specific item/value pairs but no support for exclusions.
    Any ideas? Thanks

    I wrote a utility procedure to do this a couple of years ago. Something like this (reusing a slightly modified version of the Shuttle item - Saving changes):
    create or replace procedure clear_page_cache_except (
        p_page          in number
      , p_exclude_items in varchar2
      , p_separator     in varchar2 := ',')
    is
    begin
      for item in (
        select
            i.item_name
        from
            apex_application_page_items i
        where
            i.application_id = nv('app_id')
        and i.page_id = clear_page_cache_except.p_page
        minus
        select
            x.column_value
        from
            table(
              string_to_coll(
                  upper(clear_page_cache_except.p_exclude_items)
                , clear_page_cache_except.p_separator)) x)
      loop
        apex_util.set_session_state(item.item_name, null);
      end loop;
    end clear_page_cache_except;However IIRC we mainly used this from packages: it's not very branch-to-page friendly. Possibly use a Branch to PL/SQL Procedure with a procedure that calls <tt>clear_page_cache_except</tt> then redirects to the page?

  • Problem with page cache clearing

    I have a button that exits HTML DB and returns to our portal main page. That is done through a URL, and not a page number. There is no way to reset page cache with a URL branch. So I made a page that has a branch that calls the URL, and then I changed the button on the page to branch to this page and do the proper page cache resets before calling the other page that branches to the URL. However, the page cache is not being reset when I do this.
    Here is the page flow
    page 10 - Select a record for update
    page 20 - Display data using an ID that is on page 10
    If Return to Menu is clicked branch to page 1 and reset page 10 and page 20
    Page 1 - Branches to URL
    When I go back to page 10 from the application server page page 10 & 20 are still populated.
    If I change page 20's return to menu to branch to page 10, then the reset does occur. What am I doing wrong? How do I reset the pages when leaving HTML DB?

    Dwayne,
    Validations, like other components, can have conditions that observe the current request value. This value is set to the button name when a button submits the page. So you could have a condition on a validation like 'When request != Expression 1' and in the Expression 1 field type the button name (check the button attributes to confirm the case-sensitive name and submit the page in debug mode to see the value of request when you click the button).
    About clearing page cache when branching to URL -- not sure what you're after: Cache can be cleared if an HTML DB page is invoked via URL. You specify clear-cache options in the branch definition which you can observe in the URL that invokes the target page. If you mean that you want the cache of one or more HTML DB pages to be cleared "when" a branch to a non-HTML DB page is taken, that doesn't really make sense because nothing much happens during a branch except to call the HTML DB engine's accept procedure or to do a URL redirect. So all you can do is specify some action to happen "before" a branch is taken, e.g., clear cache on pages x,y,z using a page process, or specify that the clear cache action is to occur "after" the branch is taken as manifested in the resulting URL to an HTML DB page. For something to happen "when" a branch is being done presumably would be after page processing but before a redirect, which we already support in the form of page processes.
    Scott

  • When I publish my site on one specific page where i've added {tag_pagecontent} I get the error:Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.

    When I publish my site on one specific page where I've added {tag_pagecontent} I get the error:
    'Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.'
    I'm trying to get a blog module going, I've even deleted the html insert bog with the tag in and re-published which then I don't get the error but as a result no blog either. But then I add the tag in again and publish the error comes back. I've used the dev console and it says that my musicians sample.css is out of date but why is it only out of date when I add in html to my muse site?
    HELP!!!! I've searched other threads and to no avail I'm publishing so no direct ftp going on. the only thing I changed in business catalyst was the module stylesheet in order to style the blog. I've tried uploading and replacing all files nothing seems to work. the site is here:
    http://www.musicstudentsforhire.co.uk/musicians-samples.html
    It's only this page as it has the blog on. Also I've noticed when I've re-published occasionally it will show the mobile version on my desktop and not the desktop version??? no idea why that's happening so I've had to turn that off. any explanation on why that is happening would also be much appreciated.

    I haven't received an answer as of yet, I'll post t on here when I do. I de-activated the mobile site because it's my clients site so he needs it to be operational during the day. I hope someone gives me an answer soon.

  • I am having a hard time with a page that is working for everyone else. When I click on anything in the site I get a message that says "The page you were looking for doesn't exist."  This is happening on both my ipad 2 and my iphone 5. I cleared my cache

    When I click on anything in the site I get the message " The page you were looking for doesn't exist."  This website works for everyone else, but not on my iPad 2 or iPhone 5. I cleared my cache and history on the iPad, but it still isn't working.

    I live in Germany and my credit card is in my native country of Holland .. then it
    doesn't accept my credit card.
    Your first statement explains the second statement. To use the German iTunes Store, you need to prove that you're a resident of Germany (that is required by the content owners who will not allow cross-border sales) and the only way Apple can provide such a verification is by requiring that you enter in either a German credit card or a German-purchased iTunes prepaid card. Since I presume the former is not a possibility, you'll need to do the latter if you wish to purchase content from the iTunes Store. Again, this is not Apple's choice but is forced on them by the content owners as a requirement for Apple being allowed to sell the content. The EU is working on regulations that would force the content owners to allow access pan-EU, but that's still in the works.
    You do not need an iTunes Store account to activate and run your iPad, though; at least, I didn't need one for either of my two iPads. If you only want to set up an account so you can get free iPad apps, take a look here:
    http://support.apple.com/kb/HT2534
    Read the steps carefully as the order in which you follow them is apparently critical. This seems to come and go, or only apply to App Stores in specific countries, so you may not see the option for "None" when asked for a payment type.
    As to the German iTunes Store in English, you can comment to Apple on that via their feedback pages:
    http://www.apple.com/feedback
    Regards.
    P.S. Regarding "this is the only place for a complaint and that will no doubt get removed because
    I'm not full of happy joy sparkles.
    As stated in the terms of use to which we all agreed, this isn't a complaint forum, it's a technical support forum. You don't have to be full of "happy joy sparkles", but posts that are nothing but complaints may indeed be removed. If you want to complain to Apple, use the feedback pages.
    Message was edited by: Dave Sawyer

  • My safari,4.1.3 on the bottom says cancelled opening page. have cleared the cache,and reset but it still does it on some pages,not all. Any ideas

    My safari,4.1.3 on the bottom says cancelled opening page. have cleared the cache,and reset but it still does it on some pages,not all. Any ideas

    It's possible that the pages you are attempting to open simply won't work with that old web browser.
    If you're using Mac OS X Tiger, update to the latest version, which is 10.4.11. (You might be using that already. Your profile says you're running 10.4.1, but I bet that's just a typo.)
    Then get the latest version of Safari that will run on Tiger. (And... you have that already: 4.1.3.)
    You might try a more modern browser designed specifically for your current OS. That would be TenFourFox.
    Information on TenFourFox:
    http://en.wikipedia.org/wiki/TenFourFox
    Download TenFourFox here:
    http://www.floodgap.com/software/tenfourfox/

  • In safari, On my Ipad2,I get the error message, "too may redirects" and the page won't load. Anyone with advice? I have cleared the cache, cookies, and history and restarted.

    In safari, on my Ipad2, I get the error message " too many redirects" and the page won't load. I have cleared the cache, cookies, and history and have rebooted and I still get the same problem. Any advice?

    In safari, on my Ipad2, I get the error message " too many redirects" and the page won't load. I have cleared the cache, cookies, and history and have rebooted and I still get the same problem. Any advice?

  • After using my browser (any of them) for a period of time I get a message saying that a page can't be opened. I have to reboot again. Clearing the cache doesn't help.

    After using my browser (any of them) for a period of time I get a message saying that a page can't be opened. I have to reboot again. Clearing the cache doesn't help. It's very annoying. It even happened in the middle of a chat with Apple online support. I'd be very grateful for help!

    Several things come to mind ... when you say your wife uses the same system with a different login and doesn't have issues, that suggests looking at your login items. Go to System Preferences (on your dock or on your hard drive in Applications), accounts, and on your account look at login items. Anything there that shouldn't be or isn't used? If you don't know, create a new account for yourself with no login items, and see if you still have the issue.
    Next, I would run OnyX, which is a free disk maintenance program. You can download it from http://www.titanium.free.fr/download.php . Do the tasks on the cleaning and maintenance tabs. Before using any disk maintenance software, you should have a system backup. I periodically run it, and others have found that it can help with performance.
    You might look at how you're system is using memory. You should have enough but it's easy to check. Bring up the Activity Monitor (on your hard drive in Applications/Utilities), and look at the system memory tab. Note page ins and page outs. If page outs are 10% to 15% more than page ins, you can use more memory for the programs you run. A page out occurs when memory is full and OS X has to write a section of memory to the hard drive. Too much of this can really impact performance. The optimal situation is for page outs to be zero.  Note these  values reset on a system boot.

  • Clear the page cache

    Hi,
    We have recently started to develop our application on Solaris, before each regression test is run we need to clear the page cache so that performance is consistent. On Redhat/CentOS there is the following command:
    To free pagecache, dentries and inodes:
    echo 3 > /proc/sys/vm/drop_caches
    However I cant find an equivalent command for Solaris. We have been using tail -f /dev/zero to run a huge process until the memory has been flushed which isn't very reliable and slow. Anyone know of a different way to do this?

    If we are running multiple tests one after the other then the first test may make calls which causes information to be cached, then when the second test runs it may make use of the previously used pages in cache. This makes the second test results inconsistent as if it ran first the timing results would be different, also running through a debugger or with truss doesn't give the accuracy for timing that is required in this situation.

  • I have to clear the cache about 20 times a day to see pages normally

    About a month ago I started having to clear my cache in order to see pages normally. I will open a page, and it will look like a non-html version. Once I clear the cache and reload the page it works fine. I am having to do this about 20 times a day with multiple sites. I am using version 3.6.6 with Vista.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • I have the latest version of Firefox. How do I clear my personal info and then clear the cache?

    I have the latest version of Firefox. It is: Firefox/3.6.13 (.NET CLR 3.5.30729).
    I got a page that said I needed to clear my personal information, then clear my cache. It said I could do that in the "tools" menu. The "tools" menu has no such option.
    Thanks for any help you can give me.

    Thats' all well and good, but FIREFOX crashes when I click on those links. I'm not doing it again. Heck with it.
    Am going to TRY and get my old version of FIREFOX back.
    If it were not THIS problem, I'm sure I'd be having another problem because I've had nothing BUT problems since I "updated" my browser, the way my neighbor says you are supposed to.
    Thanks anyway, caldwell418

  • My existing purchases have INSTALL next to them, but when I try click on them it says "There was an error in the App Store. Please try again later. (100)". I've tried restarting, clearing all caches, buying and downloading new apps (which works). Any idea

    Hi - in the app store, I've logged in with no problem, but when I go into my existing purchases and have INSTALL next to everything I've bought, and try to click on them it says;
    "There was an error in the App Store. Please try again later. (100)".
    I've tried restarting, clearing all caches, buying and downloading new apps (which works), and also buying and downloading more music from iTunes too (so I update all T&C's etc too, and update all payment info). But nothing seems to solve this. Any ideas?? Thanks a lot, Greg

    This procedure is a diagnostic test. It makes no changes to your data.
    Please triple-click anywhere in the line below on this page to select it:
    ls -@Oaen L*/Coo* | pbcopy
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    Wait for a new line ending in a dollar sign ($) to appear below what you entered.
    The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.
    The Terminal window doesn't show the output. Please don't copy anything from there.

  • Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.

    I've been building a site in Muse successfully until today when I get this error message in the browser, publishing to business catalyst as a test bed:
    Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.
    Clearing the cache has no effect and I have checked the assets and there are no error symbols. This happened after trying a google translate code in the <head> and a HTML snippet on the master template, I've since removed it but that the last action I took that I can think may have had an effect.
    Viewing the source of the page in Safari hash;t helped other than it shows ALOT of html (including some elements i can;t relate to in my site design) and states there are three errors:
    [Warning] Invalid CSS property declaration at: ; (index.html, line 1)
    the site is Kingsdown Holiday Homes - Self Catering Chalet Rental at Kingsdown Park, Kent | Home
    I started this site in Muse CC and then recently upgraded to Muse CC 2014, and I had install issues so deleted the original program (this then forced the download of the new version which was not automatically downloading even though CC notified me that an update was required.
    Any information gratefully received.
    Thanks,
    Andrew

    Same problem here but it has nothing to do with a cellular connection.
    Created the site http://www.blackdot.com in Muse 7.4.3 with no issues. Just updated the .muse file today to Muse CC 2014 and reloaded to our web server. Now I am getting the error "Some files on the server may be missing or incorrect." when viewing the site from the latest version of all browsers (Safari, Firefox, Chrome) on a Mac and all browsers on a PC (Safari, Firefox, Chrome, Explorer), also mobile Safari on an iPad.
    My connection is wired broadband, not a mobile or wireless connection. I am not using the Muse "Upload to FTP host…" option and will not be using it. I am simply exporting as HTML and copying the files to my server. I have deleted all files from the web server and recopied the updated site with the same error result. This is the exact same procedure I used to load the initial site with the prior version of Muse.
    It does not seem like there is an existing solution to this problem although many others are experiencing it. It looks like I will need to manually edit each page to remove the error message coding from the html files. Any tips on how to strip out the alert message from the html?
    UPDATE
    For anyone else experiencing this issue, I was able to edit the .html files for my site to remove the code responsible for this alert message. If you wish to edit your .html files you must make the same edit to every .html file in your site export including the top level "index.html" and all .html files inside the "tablet" and "phone" folders if you have them.
    The coding to remove is at the bottom of each .html file:
    (Muse.assets.outOfDate.length||Muse.assets.required.length)&&alert("Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.")
    Make sure you do not remove any semicolons or braces {} when making this edit. Just remove the text shown above. You will obviously need to remake these edits if you export your site as HTML in the future.

  • How to clear items / cache in Apex 4.2

    Can someone explain how clearing cache or session state processes are supposed to work in Apex 4.2?
    I have an application that allows the user to look up records by last name or by social security number
    A look up by SSN is one to one and takes the user to a detail page
    A look up by NAME displays a list of names where the user can select a user and display the same detail page
    The problem is that the application retains the social security number from one look up to the next. So it keeps displaying the same record
    even if you enter or select a different SSN.
    I've tried creating session state processes to either clear specific items or clear the cache on a page, but nothing seems to work.
    Maybe the problem is that I'm not understanding the options for creating these; it says things like  on load before headers, on load after headers, on submit before calculations, after calculations, etc
    The application is read only.  Logically to me, if you are linking from one page to another you need to save the value in the item  but if you are doing a  new search you need to clear it
    So I thought that on the detail page I should clear the items, or clear the cache on the page after submitting
    But can't get this to work

    heres an example
    Page 1 has items P1_SSN and P1_NAME  as well as hidden items P1_TEXT and P1_TEXT2
    The button affiliated with p1_NAME takes the user to page 2 that displaces a list of match names. it has a link which goes to page 3 where P3_SSN matches #SSN#
    The button affiliated with p1_SSN takes the user directly to page 3 where p3_SSN matches #SSN#
    If I log in and search by SSN first, when I get to page 3 I have the correct record
    If I look up by name , I get the list and select a record by SSN I still have the correct record
    then I go back to Page 1 and search by SSN, entering a new SSN. I always get what ever record I previously pulled up when searching by name and selecting from the list
    On Page 1 , I have a process that says on load before regions clear items and I list all the items
    Similarly  on page 3 I have a process after submit and calculations that clears the items
    When creating these processes it asks to list the items, separated by comma. The only place to enter PL/SQL is under conditions, this is not conditional on anything, it should always clear the cache.
    I use this same logic on different pages in the same application - different tables but same flow. It works there. I don't see why it doesn't work here

Maybe you are looking for

  • B1BC BR02 SP01 e 2007B PL09 , continuar sem fazer a replicação do item e PN

    Paulo, 1. Uma vez que está utilizando o 2007B, poderia confirmar que tem o PL08 que é o patch supportado para essa versão. ESTOU COM O PL09 2. Você esta utilizand o B1BC SP01? SIM 3. Vejo na impressão de tela 'Replicaçao Fonte Castro5.JPG' que o B1 C

  • How to restrict sales group and sales office in va01?

    in transaction "va01" ,I want to restrict "sales group" and "sales office", but there is no relative authorization object. I create a role named "z1000test001" with va01 , there are only "division","sales organization" and "distribution channel" whic

  • Why can't I use fire-wire to sync my ipod?!?!

    The system won't allow me to synch my ipod with fire wire!! Why!?! I just bought a super nice mac pro you would think they would let me step it from from SLOW USB!!!!!!!!

  • RE: Issue with the formula

    hi, I have one formula like below.    X =  - ' &0T_CMONV& / Actuals' +           ' &0T_CMONV& / S&OP / &ZDPTPLN1&'.    where &0T_CMONV& / Actuals = restricted key fig. with 0calmonth and Actuals key figure(&0T_CMONV& - text variable for cal month)   

  • How to organize events that repeat every year with iphoto

    Dear Communitie, y How can i organize events that repeat every year with iphoto. For example, if i make picrues every year or 1 time a month, of my doughter, for example: Playing with our dog in the garden january 2012 Playing with our dog in the gar