User staying logged in even after closing the tab in the web browser (v2023)

I have a problem with the user staying logged in even after closing the tab in the web browser.
If the user logs in with the username and password, then closes the browser tab, then enters the address of the application that was created using phpmaker, it appears that the user is logged in and is not prompted to enter the username and password?!
What do I do so that the user is prompted to log in again if he closes the browser tab?

You may login as super admin user (usually using harcoded admin user), then go to your generated users List page, then click on three dots button, and choose Reset concurrent user session.To use that feature, then make sure you have already enabled the following options under Security → Advanced → User Login Options → User Table List Page Options, before re-generating ALL the script files by using PHPMaker:

  • Reset concurrent user session count
  • Reset login failed attempts

In addition to those 2 options, you may also enable this following option: (v2024+)

  • Force logout user

PHPMaker 2023The problem continues…
Is there any help to solve the problem programmatically or in another way?

You should disable “Remember me (Auto-login)” under Security Settings. Note that since the cookie for login will not expire immediately after the user closes the browser, the user can still login after some time. You may however adjust the Cookie Expires (days).

Everything you wrote here worked.
The cookie expiration period is set to -1
But the problem remains :frowning:
Any Help?
Thank you very much

arbei wrote:

You should disable “Remember me (Auto-login)” under > Security Settings> .

You should also remove the existing cookie in your browser which has not expired.