php – keep users logged in without remembering me

Currently users are logged out exactly when their browsers are closed and/or not checked if I remember. Is there a way to keep users logged in even when their browser is closed? I want to keep them logged in even if they haven’t checked “remember me”. They should be logged out only if they log out themselves.

I know other people have answered this question, but the difference with this question is that remember me has to be checked. I’m being repeated I’m sorry, but I want to keep them logged in even if remember me isn’t checked.

Leave a Comment