This topic is locked
[SOLVED]

 ByPassing the Login Screen once the user has previously logged in.

9/24/2015 14:41:13
PHPRunner General questions
S
stevelewis author

I was wondering if there is a way to bypass the Login Screen if the user click on "Remember Password" the previous login. On an IPhone this would be especially helpful because when a user makes an Icon on the IPhone Home Screen after the 1st login it will go directly into the app bypassing the Login Screen but still using the user credentials. Of course if they click "Log Out" in the application they would have to login again and that's fine.
Thoughts on this?
Thank you,
-Steve Lewis

Sergey Kornilov admin 9/25/2015

This is the way it works by default. Logon to your app checking off 'Remember password' checkbox, go to one of internal pages and save the URL in clipboard. Close the browser, let session expire and open saved URL in about an hour. It will take you right there bypassing the login page. Just double-checked that.

S
stevelewis author 9/26/2015



This is the way it works by default. Logon to your app checking off 'Remember password' checkbox, go to one of internal pages and save the URL in clipboard. Close the browser, let session expire and open saved URL in about an hour. It will take you right there bypassing the login page. Just double-checked that.


That solution works for just me. I want it to work that way for all the users. Ideally they will get the login screen only when they logged out or the browser memory was cleared. I have other non phprunner php applications that work that way so I was hoping it can be done with Phprunner also.

Sergey Kornilov admin 9/27/2015

I don't understand how it works this way just for you. It works this way for everyone.

S
stevelewis author 10/26/2015



I don't understand how it works this way just for you. It works this way for everyone.


Ok, I'm revisiting this post I originally created. I know if I log in and click "Remember Password" then save the url to the list page that later I can just past the list page in the browser and it will go right there bypassing the login screen. But I don't want to "tell" my users to do this if they want to bypass their login screen. I want after they login the first time successfully and click remember password that the next time it automatically logs them in going to the list page. The only way it would go to the login screen again is if they logout or clear their browser.
This will be especially nice on a mobile phone as that it would give more of the illusion of a Native App. Once they logged in on their phone the next time it will always go to the list page just like most phone apps work. Combining that with the PHPRunner Mobile App features their Mobile experience will be even smoother.
From reading some other posts about this on this message board it seems like a possible method would be that after a successful login if the box is checked with remember username and password in the "Event After Successful login" we would create a username session variable and a password session variable. Then next time the user log's in the system would check the session variables for username and password and automatically log them in accordingly.
Do you think this method is the best way to do it? Looking to be pointed in the right direction.
Thank you,
-Steve Lewis

Sergey Kornilov admin 10/27/2015

This is a simple integration question. I guess that somewhere on your website is a link to PHPRunner application. Make that a direct link to the list page.
First time users will be redirected to the login page. Users who logged in previously and saved password will go directly to the list page and stay there. This is it.

S
stevelewis author 10/27/2015



This is a simple integration question. I guess that somewhere on your website is a link to PHPRunner application. Make that a direct link to the list page.
First time users will be redirected to the login page. Users who logged in previously and saved password will go directly to the list page and stay there. This is it.


Yes, I understand now. You wrote this method earlier in the thread but I didn't get it.
I give my users the URL of the starting list page aka (landing page). If their previous login has been clicked as remembered they get right in without a login screen. If not they are directed to the login screen. This is exactly what I'm looking to do.
Thank you,
-Steve Lewis