Page navigation cache delete on back navigation

Hi,
Building a Universal WinRT app.
Is there any way to delete a pages navigation cache when a user navigates backwards via the WP back button?
e.g. page saves state when user follows link in that page and returns to it. However if a user navigates away from the page using the back button and then returns to it then no state is saved and it reloads
Thanks!

Hi,
Please see this:
NavigationCacheMode enumeration
The NavigationCacheMode enumeration has these members.
Member
Value
Description
Disabled
0
The page is   never cached and a new instance of the page is created on each visit.
Required
1
The page is   cached and the cached instance is reused for every visit regardless of the   cache size for the frame.
Enabled
2
The page is   cached, but the cached instance is discarded when the size of the cache for   the frame is exceeded.
As your description, you should set the Page’s  NavigationCacheMode to Disabled
Best Wishes!
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. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

Similar Messages

  • Error in the Navigation Cache after deleting user

    Hi,
    We have an issue with the navigation cache and deleted users. If we delete a user and then tries to log on with a user with the same set of roles as the deleted user, the navigation cache throws an exception
    User USER.PRIVATE_DATASOURCE.un:z_deleteduser doesn't exist!.
    There is no relation between z_deleteduser and the user we logged on with when getting the exception.
    My guess is that the deleted user was the first user with that set of roles that logged in after last time we cleared the cache, and therefore got used as a key to that particular navigation object.
    Does anyone know how to resolve this, I don't want to empty the cache each time we delete a user?
    Regards
    Mattias

    Hi,
    It seems the guided procedure throws the same exception, which makes sense. I don't have a WAS up and running here, so I can't test, but I guess it's the exception the UME throws if you try to access an non existing user, and it just gets propagated both by the Navigation Cache and Guided Procedures.
    But there has to be a fix for it, somewhere...
    Regards
    Mattias

  • Caching on detailed navigation besides navigation cache?

    Hello Everyone,
    We use Btexx EasyWCM as a content management system on our SAP NW portal.
    When we create a new page in the portal it should appear directly in the detailed navigation, but instead it appears much much later, often after more then an hour. The same happens when deleting a page.
    We thought of navigation cache at first but we disabled it and the problem was still there.
    Because the new page does appear after a while, what makes it time-based, we still think it might be a caching issue. We don't know what other caches influence the detailed navigation.
    The page does appear in the PCD (role) directly after it is made, same goes for deletion.
    We tried a restart already, but that didn't resolve anything. And I donu2019t think it's a network problem because the PCD updates instantly. Just the detailed navigation doesn't. Even when we changed the customised detailed navigation back to the standard SAP detailed navigation there was no difference.
    We tried creating a page directly on the server so the caches of the proxy's etc could be excluded and the problem was still there.
    Thanks.

    Hello Sander,
    that's good to hear. But you do not need not turn the navigation cache off.
    easyWCM supports the new Navigation Cache API. If a editor changes navigation structures, easyWCM automatically invalidates the relevant roles from the cache.
    Please check if your SAP Portal release and easyWCM release supports that feature.
    More information are available on our support plattform:
    http://www.btexx.de/support/
    Best regards,
    Michael

  • The back navigating arrow goes grey and Ihave to use history to return to the search. AmI wrong?

    The back navigation button goes grey when I try to go back to search (www,. Safari); I use history to return when I can remember the start page. Am I wrong?

    You're not  wrong.. it should work.
    Try deleting the cache associated with Safari.
    Quit Safari.
    Now open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy/paste:   ~/Library/Caches/com.apple.Safari
    Click Go then move the Cache.db file from the com.apple.Safari folder to the Trash.
    Relaunch Safari to test.

  • Navigation is cached - even when navigation cache is disabled?!

    I seem to have a problem clearing the navigation cache. Whenever I change a role of workset in the PCD, the change is not visible until some time has passed (perhaps 100 minutes, I will try to verify that).
    If I change a page (like inserting a new iView) the change is visible immediatly.
    This sounds like a fairly standard "flush the navigation cache" problem, but that does not solve the problem. I have disabled all the caches in "System Administration -> Navigation -> Navigation cache" and have also cleared all of them just for good measure.
    I have used Firebug in firefox to verify that this is not a browser cache problem. For example I have a folder in the role that contains two pages. I add a third page, flush all browser caches, close the browser and reload the page. In firebug I can see that I get a "200 OK" response that only includes the original two pages - not the new third page.
    I have also tried clearing the PCD cache in "System Administration -> Support -> Portal Content Directory -> PCD Administration -> Release cache". When I do that I can see (again with firebug) that the request is taking slightly longer the first time (around 300ms instead of the usual ~70ms). However, the new page is still not visible.
    The only thing that help (besides waiting) is to restart the entire portal. The changes are then visible immediatly.
    I have even tried clearing the HTTP cache, which also does not help.
    What other caches could there be besides the navigation cache, the PCD cache, the HTTP cache or the browser cache? How can I debug this problem further?
    Thanks in advance.
    Best regards,
    Ole Hyldahl Tolshave
    P.S. We use SEP EP 7.00 SP21
    Edited by: Ole Hyldahl Tolshave on Jun 17, 2010 10:21 AM

    Hi Tobias,
    I tried clearing the DB cache (by using /irj/servlet/prt/portal/prtroot/com.sap.portal.prt.cache.PRTRegionDBClear). No change (change to role is still being cached).
    I used the PCD Inspector and verified that the contents are identical to what I see in Content Administration -> Portal Content (which is different from what is rendered in the top navigation and detailed navigation).
    We only have one server node running.
    I tried deploying the .PAR-file from SAP support (and restarted). This made no changes so now I am waiting for them to get back to me.
    But thank you again for trying to help.
    Best regards,
    Ole Hyldahl Tolshave

  • Navigation Cache - Object Size

    We're currently in the middle of our upgrade to SP15 and one of the new features we're implementing is the navigation cache.  By default, the number of objects to be cached is set at 5000.  So far the behavior is, all the navigation objects (pages) counts as objects.  Then for each user entering the portal with an unique role combination, an additional set of objects (equaling the number of roles they have) is also added.  In our dev environment where most users are superadmins, we're at around 1300 objects.
    My question is what's an object limit before there's going to be a performance hit with too much memory usage.  Is 5000 a safe limit?  Or can it be higher?  What happens if the object limit is reached, will it be like a queue where the oldest cached object gets deleted when a new one is added?
    Any info on this subject is welcome.  Any experiences with high availability environments using navigation cache would be appreciated.  Thanks

    Hi,
    The Preliminary objective of Navigation Cache is to improve performance on the server-side. By saving the Navigation Nodes in memory, the number of calls to the PCD or any other backend systems is reduced.
    The cache is implemented in a First in - First out manner (FIFO).
    Try this link for more information:
    http://help.sap.com/saphelp_erp2005/helpdata/en/5f/2720a513ea4ce9a5a4e5d285a1c09c/frameset.htm
    Hope it's help
    Best Regards,
    Shimon.

  • When trying to sign out of Hotmail the "back navigation button" remains green and I have to click sign out again and the same thing happens over and over and the only way to close Hotmail is to go to File and Close Frame, so what's my problem?

    When I attempt to sign out of Hot Mail by clicking "Sign Out," I get the "Sign In" instruction as I always have, however, the green Firefox navigation button remains on bright green (not going to gray) and my MSN home page will not close automatically as usual. I click on the green arrow and I get an instruction to "Sign Out" again. I click on that and get the "Sign In" again but the arrow stays green. I can repeat this countless times and never get signed out and always remaining on the MSN home page. The only way I can close is to go to File and click on Close Window and then my homepage will close and go back to desktop. I've been using Firefox for a couple of years now (IE prior to that for ten years) and have never had this problem. After using "Close Window" I go back onto my home page, from the desktop, and the navigation button is grayed out normally until I sign in again and we start the cycle over again. Have I been hacked?
    == This happened ==
    Every time Firefox opened
    == Approximately a month ago.

    I was doing a side-by-side comparison of the new and old server (we backed up the server before the reformat) and I can see that, evidently, CR XI was installed.  We have the directory C:\Program Files\Common Files\Business Objects\3.0 and all the versions match what is located in the project's bin directory.  Does this confirm that I did have XI installed and licensed at one time?
    If I purchase a more recent version, couldn't I update the reports to use the newer version?  I have all the source code.
    Thanks for your help, it is a nice sanity check for me after hours of reading forums and documentation.
    Also, just a shot in the dark, but I'm assuming it wouldn't do me any good to simply restore the aforementioned folder to my C drive?  Would that work if I registered all the dll's?
    Edited by: Eric Hollering on Dec 2, 2009 6:40 PM
    To be clear, I do have VS 2003 & 2005, and I have the source code.  I just have never used Crystal Reports in any of my .NET apps because the need wasn't there, so recompiling is not out of the question.
    Edited by: Eric Hollering on Dec 2, 2009 6:49 PM
    Also, I looked at the CrystalDecisions.CrystalReports.Engine.dll that was in the C:\Program Files\Common Files\Business Objects\3.0\Managed folder and when I right-click and view the properties, then the Version tab, in addition to the 11.0.9500.2 version number, there is a property called Product Version that has the value .NET.  Does that mean that this dll was bundled with Visual Studio?
    I also found this directory on the old server...does this tell you anything?
    C:\Program Files\Business Objects\BusinessObjects Enterprise 11
    I did see that you can still buy XI from CDW.  I have a call into them currently to check with Business Objects for any registrations from my company.
    Edited by: Eric Hollering on Dec 2, 2009 8:27 PM

  • Navigation Cache - Loading Web Dynpro iview

    Hello Experts,
    I developed a simple WebDynpro that count the access number to a single portal page.
    And I put it in a Role.
    In a cluster environment I had different results depending on the cluster instance I use.
    If I do a Logon in the central instance and navigate the role I get a value of access number.
    If I do a Logon in the dialog instance and navigate the role I get a different value of access number.
    The value in the database is always the same..
    Could it be a cache problem??
    What can I do??
    Best Regards

    Hi,
    Did you try clearing the navigational cache on dialog server and also in Central Instance?
    In Portal Navigate to System Administration - Navigation - Clear Navigation Cache.
    And test the application again and see if it got resolved...
    Or
    Go to Index.html side and go to Web Dynpro Tools, and go to Invalidation of ARFC Metadata Cache - In section Dictionaries Cache Invalidation - click on the button to get teh application using the JCO connection and invalidate the cache...
    Hope this helps.
    Cheers-
    Pramod

  • Back navigation arrow doesn't work anymore, also not getting suggestoins when I start typing a URL... how can these be fixed?

    So after I deleted a bunch of files/applications today (computer was threatening to crash), Firefox started to do a couple weird things. Navigating backward is no longer possible; the back navigation arrow is greyed out. Also, when I start typing a URL, it no longer suggests the rest of it, either in the URL bar itself or in a drop down menu (it used to do both). 16.0.2 is the current version, right? That's the one I kept, I deleted the others. Recently, I got the announcement that Apple isn't supporting my operating system, Mac OS X 10.5.8 anymore, I don't know if that is relevant. How can these things be fixed?

    I use Windows but I can suggest you a couple of things that you can try out.
    1. Right click on your toolbar, click Customize. Click on the "'''Restore Default Set'''" button.
    2. Go to Firefox menu > Help menu > Troubleshooting information. In the tab that opens afterwards click "'''Reset Firefox'''".

  • Back Navigation and Browser Buttons

    What is the best way to implement back navigation in JSF, such that the application also behaves as expected when the user sometimes uses the browser's back button?
    Say, we have a page "index.jsp" and a page "results.jsp". From both pages it should be possible to navigate to the page "help.jsp" (which contains a back button). From "help.jsp" it might be possible to further navigate to, say, "about.jsp" (which also contains a back button and is, for example, also accessible directely from "index.jsp").
    After the sequence "index->help->about", the user expects to be at "index" again after clicking back on about.jsp and then clicking back on help.jsp. If the same sequence starts at "results.jsp", the user would expect to be at "results.jsp" after clicking the two back buttons, etc.
    What is the best way to achieve this behaviour? I guess I best store the entire navigation history in a session bean (something like a stack or so). Is that a good idea? I wonder how I best treat the case when the user hits the browser's back button (for example to navigate back from about.jsp to help.jsp). Any ideas? I could imagine that I could send a unique id (e.g. an increasing counter, or a long random variable) for every button click (using a hidden input, maybe?), such that I can always find the right point again in my navigation stack. But how would I nicely integrate something like this in JSF?
    Thanks for any hints!
    Michael

    This one is nice. But it doesn't redirect to a GET-formed URL.
    I just had taken 20 mins to refine it:
    test.jsp<h:form>
        <h:inputText id="paramname1" value="#{myBean.paramname1}" />
        <h:inputText id="paramname2" value="#{myBean.paramname2}" />
        <h:commandButton value="submit" action="#{myBean.action}" />
    </h:form>MyBeanpublic class MyBean {
        private String paramname1;
        private String paramname2;
        // + getters + setters
        public void action() {
            System.out.println("meep");
    }faces-config.xml<lifecycle>
        <phase-listener>mypackage.PostRedirectGetListener</phase-listener>
    </lifecycle>
    <managed-bean>
        <managed-bean-name>myBean</managed-bean-name>
        <managed-bean-class>mypackage.MyBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
        <managed-property>
            <property-name>paramname1</property-name>
            <value>#{param.paramname1}</value>
        </managed-property>
        <managed-property>
            <property-name>paramname2</property-name>
            <value>#{param.paramname2}</value>
        </managed-property>
    </managed-bean>PostRedirectGetListenerpublic void beforePhase(PhaseEvent event) {
        if (event.getPhaseId() == PhaseId.RENDER_RESPONSE) {
            FacesContext facesContext = event.getFacesContext();
            HttpServletRequest request = (HttpServletRequest) facesContext.getExternalContext().getRequest();
            if ("POST".equals(request.getMethod())) {
                Set paramKeys = facesContext.getExternalContext().getRequestParameterMap().keySet();
                List params = new ArrayList();
                for (Iterator it = paramKeys.iterator(); it.hasNext();) {
                    String componentId = (String) it.next();
                    UIComponent component = facesContext.getViewRoot().findComponent(componentId);
                    if (component instanceof UIInput) {
                        String paramname = componentId.substring(componentId.lastIndexOf(':') + 1);
                        Object value = ((UIInput) component).getValue();
                        String paramvalue = value != null ? value.toString() : "";
                        params.add(paramname + "=" + paramvalue);
                String url = facesContext.getApplication().getViewHandler().getActionURL(
                    facesContext, facesContext.getViewRoot().getViewId());
                for (int i = 0; i < params.size(); i++) {
                    switch (i) {
                        case 0: url += "?" + params.get(i); break;
                        default: url += "&" + params.get(i); break;
                try {
                    System.out.println("PRG to " + url);
                    event.getFacesContext().getExternalContext().redirect(url);
                } catch (IOException e) {
                    e.printStackTrace();
    public void afterPhase(PhaseEvent event) {
        // Do nothing.
    public PhaseId getPhaseId() {
        return PhaseId.ANY_PHASE;
    }For restoring facesmessages, just add the relevant code of the PRG thingy you have found.

  • UIX Struts back navigation

    Hi,
    I have project with UIX 2.2.8 and Struts. There are some pages, where the user can get to from different pages. Is there a suggestion how to provide back navigation functionality?
    Regards,
    Jan

    Hi,
    I have project with UIX 2.2.8 and Struts. There are some pages, where the user can get to from different pages. Is there a suggestion how to provide back navigation functionality?
    Regards,
    Jan

  • Need referring tab open on back navigation

    I have a page with 5 Spry Tabbed Panels, each have many linked pages.
    I'm using Dreamweaver CS4, SpryURLUtils.js - version 0.1 - Spry Pre-Release 1.6.1, SpryTabbedPanels.js - Revision: Spry Preview Release 1.4.
    What code can I add to the main page and linked pages to have the referring tab open when navigating back? The back navigation is done by a manually created breadcrumb.
    Here's the link:
    http://www.wiseye.org/wisEye_programming/campaign10/campaign2010newtabs-3.html
    many thanks!

    First thing, update your Spry Tabbed Panels to at least version 1.6.1.
    Then, if your 'back navigation' will always be static (that is, via your manually created breadcrumb each link goes back to a specific non-changing panel), use the technique that David Powers describes here: http://foundationphp.com/tutorials/spry_url_utils.php
    This technique works very well, and is not difficult to implement. Rather than repeating David's instructions here, I recommend going to his site and following them there!
    Beth

  • Can not take a screenshot with Maverick and track pad.  can not use apple chat to talk with a tech.  there are other issues also like I used to be able to go back a page with the delete button.  No Maverick PDF to instruct on how to use Maverick

    Can not take a screenshot with Maverick and track pad.  can not use apple chat to talk with a tech.  there are other issues also like I used to be able to go back a page with the delete button.  No Maverick PDF to instruct on how to use Maverick
    THE use of the apple support is a mess also.
    I want to be able to use my MAC fully and easily like I used to with Snow Leopard. 
    What is wrong with this maverick OS?

    The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
    You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ...

  • How to clear portal navigation cache

    hi
    How to clear portal navigation cache

    Hi,
    Refer this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/19edcf16474a9798a5681ce4fe4b25/frameset.htm
    EFP: Navigation Caching
    Regards,
    Senthil K.
    [points welcome]

  • Installed Portal Add ON / FORUM / Systemadministration - Navigation Cache?!

    Hi,
    i installed the Add ON FORUM for our Portal.
    I ve restarted the whole Portal after that.. now the Menupoint:
    Navigation Cache under System Administration - Detailed Navigation is gone?
    I only see there: Short URLs... before i installed the FORUM Component there was over "Short URLs" The Point:
    Navigation Cache...?!
    Did anybody knows whats happened there? How can i clear now the Navigation cache?
    Please help.
    regards
    Bjoern

    Hi,
    i searched the whole system but its lost?!?!
    Is there another methode to clear the Navigation Cache? Or did anybody else faced the same problem in the past?
    Regards

Maybe you are looking for