Apex not clearing cache
Using Apex 4.1.1 on Oracle XE 11G (Linux)
I have a form and a report in and when you click on create button it will clear the cache in page 6 so you can create a new entry.
If click on the link on table which will set the value of P6_TID (type hidden) with a value, the typical Form & Report setup except I created it manually and was working fine for over a month since creation.
Now when I click on the CREATE button its no longer clearing cache in page 6. Instead it retrieves the latest values I had earlier (P6_TID holding the latest value).
However just earlier I was having another issue where I had to drop the parsing schema and got ORA-01940 - cannot drop a user that currently logged in, so I had to do a:
SQL> shutdown immediate;and as soon as Oracle stopped I started it up and created my user, granted necessary permissions and imported the old DMP file.
I've gone through this step many times but only now I am getting the ORA-01940 error. So have no idea if its anything to do with the issue of clearing cache I am having. Both issue coincided same time.
Has anyone had any such problem where they are unable to clear cache for a page or session? I got absolutely know idea what I have to do get it back working.
Cheers.
Why would you shut down your database to kick a user. Just do
select * from v$sessionYou can find your schema that you want to drop with a where clause on the user column.
Now note the sid and the serial column and do
alter system kill session '#SID#, #SERIAL#';Replace #SID# and #SERIAL# with the values of your session you want to kill.
This will stop the ORA-01940 error.
Now for the APEX matter. The APEX session is completely different from the Database session.
If you submit values to the server then APEX keeps those values in session.
If you clear the cache of a page it really means that you clear the values of that page in the session.
Look in your session if those page items are cleared.
If they are not cleared there then watch out for a unwanted rowfetch of page processes. If you clear the page cache on create you most not give away any variables to that page hee! (espacially not a primary key)
Regards
Similar Messages
-
Inserts using Automatic Row Processing (DML) should not clear cache
Hi,
I am using APEX 4.0.1.00.03.
I created a form on a table for inserts and updates.
After I do an insert, the Automatic Row Processing (DML) clears cache for all items on the page.
But the user wants to see the data he inserted without having to query. How can I achieve this?
Thanks
ChandraThere isn't any "reset page" process on my page.
--Chandra. -
I tried the beta version of FF 4, and deleted it, then when the full version came out I got it. Every since I had the beta version my FF will not clear the cache, I have tried a dozen ways to get my cache cleared and nothing is working.
Do you still see that the cache is used if you open the <b>about:plugins</b> page via the location bar?
-
Safari 5.1 will not clear cache
I have been at mac since, well forever, my Cube is still running and that was my 3rd mac, so not a total nub.
However, it seems that safari 5.1 is a bit broken. I do web page work, among other things, and I need to clear the Cache regularly. Unfortunately the "Reset Safari" command does absolutely nothing. My big question is within the Home/Library/Caches is the "com.apple.safari folder" inside that is the Cache.db (no application to open this) is this the actual cache? If SO if I remove it will Safari remake it, or will this brake Safari further?
Thanks, All
Long long time since I been here . . .I delete the cache.db all the time rather than emptying the cache from the menu bar or reset Safari. Web pages load much faster and I've noticed it clears a bug or two that just emptyhing the cache using Safari interface doesn't do.
Sometimes deleting the cache.db has helped with Safari crash reports > https://discussions.apple.com/message/15854954#15854954
is this the actual cache
For Safari. Yes. If you go to ~/Library/Caches. The next folder has the cache.db for all the associated apps. -
Publishing does not clear cache on secondary node on the cluster
Hello,
I am publishing assets from Management to Delivery. Delivery consists of 2 nodes, one of which is the publish destination for the management. So, after a publish, I could see the updated content on Delivery 1 (cs/Satellite) but Delivery 2 (cs/Satellite) still shows stale content.
I checked the following properties on ft.ini and it's holding correcting values
cc.cacheNoSync, ft.sync, ft.usedisksync
Any help/pointers is very much appreciated.
Thanks!Seems like your cache flushing is not working correctly - easiest way to see if your system is configured correctly with regard to the satellite servers - go into support tools / cache / list pages - pick Satellite - - it will log (remotely) onto both satellites and list the inventory - it validates the entries in your system satellite table - that table needs to list all of your delivery satellite servers and credentials -
-
Cache not cleared when branching to a page with before-header branch?
I tried to make up and example in apex.oracle com.
http://apex.oracle.com/pls/apex/f?p=20469:112
Assign some value to items and experiment the with the buttons.
The first button:
Action: Redirect to Page in this application
Page: 112
Clear Cache: APP
Set These Items: P112_TEST_ITEM_1
With these values: 1
The second button is identical to the first except that the page it branches to is 113 instead of 112.
Page 113 has nothing more on it than a Before Header branch branching back to page 112.
Its seems a bit inconsistent that assigning values to the items survives with the before_header branch - but clearing them does not.
AndresWelcome to my thread Varad!
As I wrote in my previous reply, the button branching to page two is part of the report and totally independent from the buttons that call the Ajax script.
The forwarding to page two takes place after item P1_SORT has been set!
I have no more ideas what is causing this problem. The item that is supposed to be bound on page two is of type text without session saving property. It doesn't have a standard value and neither an item source that could potentially cause the problem!
Regards,
Sebastian
PS: Do you know if it's recommendable and possible to store the value of the Ajax code in an application item!?
Edited by: skahlert on 20.09.2009 18:19 -
Don not excute valide query on MS explorer if i don't clear cache manualy
I have a report taht execute a query on a table.
I have notice that on some pc the query is not valid and the browser view old value.
After a lot of test i have clear manualy the explorer'cache of Microsoft explorer. And then the query resul are valid.
There i a solution ??
Thank'sSee Re: ApEx Development Team: tab clear cache - new feature? .
Scott -
ApEx Development Team: tab clear cache - new feature?
Hi ApEx Development Team!
I searched the forum and found, that many have (had) the same problem like me:
Why isn't it possible to clear the cache by clicking on a tab? Why is it only possible for parent tabs?
Wouldn't it be a nice feature for the next version of ApEx? This feature exists already, only not for the standard tabs...
Regards,
Sofietaepodong wrote:
Apologies to dig up old thread but I ran into this problem and thought I'd share my solution as well (for search engine)There is no point in doing this. There are thousands of threads in this forum that are unanswered, or contain solutions that are suboptimal or that have been superseded. They can't all be updated "for search engine"...
1) Edit the tab property where you want your page's cached removed. In My case it I had a tab pointing to page 6 and I needed page 6's cache cleared when I clicked on it.
2) Edit the condition for the tab deisplay --> Function returning boolean.
3) In the function body put the following code:
begin
if :APP_PAGE_ID != 6 THEN
apex_application.clear_page_cache(6);
END IF;
RETURN TRUE;
end; The expression will always evaluate to true, and will clear cache from page 6 if clicked from any other page that is not page 6.
However if you want to apply condition to the page as well. (say and admin page based on :APP_USER property) then wrap the return true in another If-statement as well.I subscribe to the old-school idea that state-changing side-effects in functions are evil. Using Condition code in this unexpected way will make an application much harder to debug and maintain. If I came across this in an application I was working on I'd refactor it.
Scott posted the correct way to do this above (post of 26-Mar-2008 23:00—not marked as helpful/correct as this was before the forum had this feature): Clear cache using an On-Submit Application Process that is conditional on the <tt>:REQUEST</tt> value set by the relevant tab(s). -
some music files do not show up in google play music app library. I did clear cache/data and restarted phone. The music is stored on the SD card. Most of the music in the library is in the same folder on the sd card. I can play the song from file manager, but it still is not in the music library in play music.
Cyndi6858, help is here! We'd be happy to help figure this out. Just to be sure though, the Droid Maxx should not have an SD card. Is this the Droid Razr Maxx? How did you add the music to the device? Are you able to see the files and folders located on the SD card or device when plugged in?
Thanks,
MichelleH_VZW
Follow us on Twitter @VZWSupport -
Same thing is happening to me. Adobe has not responded to anyone about this error. It appears that Abobe XI is not compatible with IE 11. I do not get this error when I use Chrome or Firefox. Only IE 11 does this. I have tried clearing cache and cookies. I even uninstalled and re-installed IE 11. It is still doing it. I am surprized that a company like Adobe would just ignore our posts and leave us hanging this this.
Error message is FAILED TO GET DISPATCH FROM IBRWSR2. Then when you click on it the next error message says: PHTML IS NULL. You have to click this error message twice and then the PDF finally loads. Happened every time
Does anyone have a solution since Adobe will not respond?
As a last resort I will try uninstalling the Adobe Reader XI and install Adobe Reader 10 instead. It seems to work ok. But when I try to install version 10 the Adobe site tries to install XI. Any ideas?
JimP08758It worked just fine for me.
Many site issues can be caused by corrupt cookies or cache.
* Clear the Cache and
* Remove Cookies '''''Warning ! ! '' This will log you out of sites you're logged in to.'''
Type '''about:preferences'''<Enter> in the address bar.
* '''Cookies;''' Select '''Privacy.''' Under '''History,''' select Firefox will '''Use Custom Settings.''' Press the button on the right side called '''Show Cookies.''' Use the search bar to look for the site. Note; There may be more than one entry. Remove '''All''' of them.
* '''Cache;''' Select '''Advanced > Network.''' Across from '''Cached Web Content,''' Press '''Clear Now.'''
If there is still a problem,
'''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
While you are in safe mode;
Type '''about:preferences#advanced'''<Enter> in the address bar.
Under '''Advanced,''' Select '''General.'''
Look for and turn off '''Use Hardware Acceleration'''.
Poke around safe web sites. Are there any problems?
Then restart. -
Fire fox loads some websites and not others. Clearing cache and history doesn't help.
Fire fox loads some websites and not others. Pages that don't load in Firefox do load in other browsers. Clearing cache and history doesn't help.
One of the websites that doesn't load is google.com! It loads some of the page, just some menu items at the top of the page. Then, it hangs and remains in the Loading state (with the spinning wheel and "Loading" in the tab) indefinitely.
The problem started after 3.6.11 was installed. I'm on Mac OS 10.6.4.
I would be happy if you just showed me where I can download 3.6.10. Also, is there anything special I have to do if installing an older version?I ended up going into the clear history settings and setting it to clear history when Firefox closes and chosing it to clear history and cooking and browsing history when Firefox closes. Now the links work fine and the last page I was looking at before I closed Firefox is no longer there when it opens again. Problem solved!
-
In Tools, Options, there is a checkbox that states "ask me before clearing cache". It was checked by Firefox not me. I do not want to be asked. How do I get that box unchecked?
You are using a very old version of Firefox that is no longer supported.
You should upgrade to the latest Firefox 3.6 version from [http://www.mozilla.com]. Let me know if this fixes the issue. -
PSP clear cache not reflecting in all Languages
Calling siebel forum!!..
Clear cache of PSP is not taking effect in SVE application
However works well in ENU. We have done clear cache from ENU but should
Work across all server and language deployements.
This will work after server restart but is this a known issue,
How can it be traced and corrected?
Thanks!!After doing changes in the German Form in transaction SE63, the changes do not reflect in English language after activating the german form.Please help me with your valuable suggestion to solve this problem.
Regards
Ankur Godre -
Created a report that executes 3 stored procedures:
first one deletes data from a tablex
second one adds data to tablex based on a query
third one adds data to tablex based on different query
report is run based on a date range.
date range1 returns proper results
date range2 returns proper results
date range1 returns double results? cache flag is set to clear. according to rules, if parameterized, report should not use cache.
Help?there is one dataset -> tablea
parameter date range - 06/30/2014 - 07/24/2014, returns 24516 records first time program is executed
parameter date range - 05/23/2014 - 06/29/2014, returns 29823 records second time program is executed
parameter date range - 06/30/2014 - 07/24/2014, returns 49032 records third time program is executed --> expected 24516
report is defined with sql statements as follows:
stored procedure execute a delete data from tablea
stored procedure execute sqla insert to tablea
stored procedure execute sqlb insert to tablea
produce report layout
I view the data in tablea in sql to know my record counts. -
Clearing cache and cookies and restart in safe mode does not fix.
Hi castaway, you are using a old version of firefox . Please update it . goto '''Help->About Firefox''' and it will be automatically updated.
Maybe you are looking for
-
Is there a way to "purge" muliple copies of the same song?
Hi, I lost my iTunes library after connecting my iPhone (don't know how or why or even if that was the cause). The library had around 20 songs total in it after disconnecting the iPhone - down from several thousand. I did have a few older copies of t
-
?Embedding custom region as an extension to seeded self-service page.
Hello Tapash/All, I am extending one of the self service pages to add extra fields on the page to capture information. This is what I am planning to do based on the comments (from Tapash) that I got from my previous post. 1. Create a custom table wit
-
So I have a jailbroken iPhone 4 with iOS 4.3.5. I want to undo the jailbreaking so I downloaded iOS 5.1.1 but EVEYRTIME I try upgrading, iTunes always hang up. iTunes hangs up even when I just connect my iPhone. It hangs up when I click the name of m
-
Help!! Am I froze up?
I was updating my Ipod and somehow it appears I am now froze up. The Ipod list the first song as now playing but nothing happens if you push anything. I also can't get the Ipod to now update again. Any help would be greatly appreciated. Tony
-
Conflict between VPN and Airport disk
Hello Folks, I just bought a brand new airport extreme 802n. I thought it would be working fine with my Macbook pro, but it doesn't. I can't access any externe hard disk or USB Stick through the airport extreme, although the format is FAT32. I checke