User Already Login

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
shahparzsoft
User
Posts: 361

User Already Login

Post by shahparzsoft »

If someone close the browser without logout
then he/she cannot be login without clearing the login session manually from the database.

Is there any solution to avoid this thing ?


mobhar
User
Posts: 11703

Post by mobhar »

Just remove the content of "Profile" field in "users" table,


shahparzsoft
User
Posts: 361

Post by shahparzsoft »

Yes. i have to do it manually in the users table in the main database.

But I want that if someone Close the Browser without Logout,
then system should consider it logout from the software also.


mobhar
User
Posts: 11703

Post by mobhar »

In the generated ewcfg*.php file, then customize this constant, just decrease its value, for example change it to one minute:

define("EW_USER_PROFILE_SESSION_TIMEOUT", 1, TRUE);

In other words, the user can be login to system again after one minute since his/her last logged-in time.


Post Reply