Login persistence for mobile
-
I m using mobile chrome, i observed that after awhile i will be log out. Is there any means to have and option to save my session or persistently log me back in.
-
I believe the way it is programmed at the moment is to behave as a browser session. Meaning, your session will only last as long as you have your browser open, and once you close it you will log out. This should be able to be changed easily by changing the max age in the session middleware. Since if this max age is 0, then it will behave as a browser session, otherwise it will be the amount of time (in milliseconds I think) after logging in that the session will expire.
-
Since if this max age is 0, then it will behave as a browser session, otherwise it will be the amount of time (in milliseconds I think) after logging in that the session will expire.
Interesting -- we'll add it as soon as we have a bit of time. Or you could submit a pull request as well