I am trying to implement a login with remember me function.
When logging in the server sets two cookies,
- Session ID
- Remember Me token.
When I close and restart the application on my android phone, the Remember Me token is no longer transmitted.
It seems, that the cookie has not been saved to storage.
Strangely this behaviour is not persistent. Sometimes the Token is stored, as it should be and I am still logged on after Application Restart.
The Remember Me Token contains an expiry date.
It is not possible for me to retrieve the Remember Me Token and store it in the local Storage, as it is httpOnly.
Does anyone have an idea, how to fix this issue?
Best Regards
Younes Müller