Andrey Koposov
Posts: 0
Joined: Wed Feb 18, 2015 5:08 pm

How to remember user, if he does login, after he has do exit the application.

So than you don't need to write your name and password again.

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

How to remember user, if he does login, after he has do exit the application.

Andrey,

My approach to the same problem is to, on click of the login button - to save the values in the controls on the login screen, to local storage variables. That saves the values.

On the next login - In the page show event - I move the values from the local storage values - to the controls on the screen.

Are you aware of how to accomplish that goal using the designer tool, on your login page?

Happy Wednesday!
Bruce

Ellen Schlechter
Posts: 0
Joined: Sun Aug 31, 2014 3:28 am

How to remember user, if he does login, after he has do exit the application.

Here was what I did:
I saved the username and password in local storage when a user signs in. Then on page show/load I set the property based on the local storage.

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

How to remember user, if he does login, after he has do exit the application.

Hi Ellen,

And .... that approach doesn't work for you ??

Best,

Bruce

Andrey Koposov
Posts: 0
Joined: Wed Feb 18, 2015 5:08 pm

How to remember user, if he does login, after he has do exit the application.

I see, thank you, but if there is method to skip the login page?

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

How to remember user, if he does login, after he has do exit the application.

Hello Andrey,

You can save credentials in localStorage like Ellen did, and on page load send a request with credentials, unless it's first login.
If login fails show login form, otherwise on success event navigate to second page.

Return to “Issues”