Session Logins

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
salemsaleem76
Posts: 17
Joined: 2016-04-28 09:52

Session Logins

Post by salemsaleem76 » 2016-06-01 07:14

Hello Everyone,

I've placed a new system and added users and everything seems working fine. When I've placed this online it turned that when you open a session for a while, and someone else logged in the system, your session will be changed to that user. For Example I am user X, if I left the session open for a while and user X is logged in, I can see my logged ID changed to user Y.

This is a major issue that I need an immediate help with, any ideas,.....pleeeeeeeeeeeeease.

Salem.

User avatar
a.gneady
Site Admin
Posts: 898
Joined: 2012-09-27 14:46
Contact:

Re: Session Logins

Post by a.gneady » 2016-06-06 22:32

Hello Salem. Sorry for the long delay. I couldn't reproduce this issue using the info you mentioned. Are there any specific details that can help reproduce this?
AppGini: Responsive, collaborative web db apps in minutes.
:idea: Learn all the tips and tricks of customizing AppGini apps through our online course.

User avatar
pilandros
Veteran Member
Posts: 63
Joined: 2014-02-13 18:19

Re: Session Logins

Post by pilandros » 2018-03-01 18:04

There are several problems tied to this issue that some applications (some of mine included) must be facing to deal with the consequences of having repeated or duplicate active logged users.

The summary and the possible solution to solve this problem/issue is this:

We need to avoid that a user is logged (and active) more than once into the application.

One solution might be to set a flag within a log-file for each active-user.

if he/she lend their user credentials to somebody else, only the active logged-user credentials must be allowed, by setting this flag.
If he/she did not do a logout properly, that flag must be cleared (or shut-down) somehow.

Any Ideas or comments on this?

User avatar
a.gneady
Site Admin
Posts: 898
Joined: 2012-09-27 14:46
Contact:

Re: Session Logins

Post by a.gneady » 2018-03-20 12:47

Hmm ... I'll consider adding this as an option in future releases (Allow only one session per user) -- it might not be the desirable behavior in all cases, but having it as an option that can be turned on might prove handy in some cases.
AppGini: Responsive, collaborative web db apps in minutes.
:idea: Learn all the tips and tricks of customizing AppGini apps through our online course.

User avatar
D Oliveira
Veteran Member
Posts: 52
Joined: 2018-03-04 09:30

Re: Session Logins

Post by D Oliveira » 2018-03-27 18:22

I plan to have at least 3 users using the application at the same time, is that an issue I should be concerned before releasing my application?

User avatar
a.gneady
Site Admin
Posts: 898
Joined: 2012-09-27 14:46
Contact:

Re: Session Logins

Post by a.gneady » 2018-03-28 08:37

Usually not. However, if the users will be editing the same record at the same time, you might wish to include some hooks code for locking the record so that only the first user can edit it -- you could set the lock to automatically resolve within 10 minutes or so.
AppGini: Responsive, collaborative web db apps in minutes.
:idea: Learn all the tips and tricks of customizing AppGini apps through our online course.

Post Reply