Yurii, I sent all that in the email I sent to "a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a". Please let me know if you did not receive that email, and I will resend it. Thanks!
Yurii, I sent all that in the email I sent to "a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a". Please let me know if you did not receive that email, and I will resend it. Thanks!
Hi Al,
Sorry for the delay, we are working on it
Hello,
Make start page not "Login_page" page but "Landing" page and your dialog page will work as you expect. It conects with logic of jquerymobile. It can't hold in memory many pages.
So you have two ways to solve your problem: 1 Make start page "Landing" and navigate to page "Login" in "Load" event
2 Use jquery mobile multipage template (Render all pages in one HTML file)
I read through this help topic and I thank everyone for their contribution however, I'm curious... If I set a "login" dialog to run on pageLoad, how do I set it to never load the dialog again now that the user is logged in and the sessionToken is in local?
Would it make sense to run the login service on page load and then on "error" open dialog? That way, if a user's session is still stored and they are currently logged in, essentially nothing would happen. But if they weren't logged in, the dialog would open allowing them to login again and/or register?
Thanks,
Hello,
You can use third way to make your application work.
When you navigate from login page to "Landing" page set checkbox
"Use full screen refresh"
Thanks, but I'm using a Dialog and not navigating from another page. Currently I have the Dialog set to Open on HomePage page load. Once the user login from the Dialog is completed, I need to the user to return to the HomePage and never show the Dialog again so long as the user is logged in.
Thoughts?
I guess a simpler question to ask is this;
When you have a user login page, is it best to NOT set it as the app's "start page?"
As you've suggested above, it seems it is best to have a HomePage as the "StartPage" and then set a button on the HomePage that sends new users to the LoginPage. Then with loginService onSuccess, navigate back to HomePage with "full screen refresh?" Does that sound right? But if the HomePage does a full refresh, how do I make the button that navigates users to the LoginPage visible==false?
Hello Michael,
The right way will be to us "Login" page as start page. Then on button "Login" you call service. On service event "success" you navigate to "Landing" page with cheked checkbox "Use full screen refresh". After this your page "Landing" behave as start page of your application.
I set this page like you have suggested, but it does not work. If it package it in an APK and run the app the first time, it navigates correctly to the homePage after Login Success... But if I close down the app and relaunch it, the app still defaults to the login page on Open.
Thoughts?
Hello Michael,
Sorry, it was misunderstanding. "Start page" doesn't mean the first page of an application. It means "main page" of your application which is always in memory. So every time when you launch your application, first you will see login form. But after navigation with cheked checkbox "Use full screen refresh" your page "Landing" becomes "main page".