Thanks for the reply.
I made the change, but still does not go to the correct page after the test. In practice, if the user is not logged in he never goes to the instruction: resolve ({url: ‘./pages/login-screen-page.html’})
I’ve also tried this, but I can not do what I want.
In practice, using the kitchen-sink (v.2.0.5) example I would like the page / accordion / or any other one open only if you have logged in, otherwise it must always ask for login. Maybe I do not have the right level yet to fully understand this framework.
Hurray now works. I had already tried the async function, but without result.
Maybe because I always used componentUrl.
In any case, thank you very much for your help.
Now you need a little imagination to make a good application.
Good morning,
I continued my tests by adding a php page with the session in order to differentiate a result, but until I force a page refresh I never see the effect of the session variable: $ _SESSION [“mioutente”]
No, there is a ton of ways to handle it, in most cases when auth is server side, then usually on app launch you can do a request to server to verify that you are logged in.