This topic is locked

Manually log user off

8/10/2019 2:25:03 PM
PHPRunner General questions
D
david22585 author

So I'm playing with the security settings, and say there is a user that has a high level access and is eventually downgraded to a lower level, they will still have access to those items for the higher level access until they log out. Is there a way to force a user account to logoff?

K
Kay 8/10/2019

i think a server restart will solute this, so the user can not use the old rights after a restart.

you can test and proof it. it is just my thinking.
correct me, if thats wrong.

W
wpl 8/11/2019

david22585,
you may want to try:



Security::logout();


Regards

jadachDevClub member 8/11/2019

When they close the browser they will be logged out.

D
david22585 author 8/11/2019



david22585,
you may want to try:



Security::logout();


Regards


Don't want everyone to logoff.



When they close the browser they will be logged out.


If you click remember me, it keeps you logged in.

Sergey Kornilov admin 8/11/2019

Security::logout(); will exactly what you need.
More info:

https://xlinesoft.com/phprunner/docs/secapi_logout.htm