sapui5 - Page should not active when reload -


i new openui5 , developing web application. page should not active when reload page. searching using openui5 not getting idea that.

please me anyone.

use session storage check whether page reloaded , if reloaded kill it. example assuming want kill page:

    ostorage = jquery.sap.storage("session");     $(window).load(function() {         if(!ostorage.get("is_reloaded")){            ostorage.put("is_reloaded",false);         }          checknoofvisits();     });      function checknoofvisits(){     if(ostorage.get("is_reloaded")){      window.stop();     }     else{     ostorage.put("is_reloaded",true);     } } 

Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -