Bart,
I happen to be dealing with a similar issue today. We have a client
where users of their wireless router suddenly get switched to someone
else while entering time slips or other data.
This all surfaced when they did a test where 9 or 10 people logged in
simultaneously and 2 or 3 people ended up getting logged in as
someone else.
Historically, I've been using a set of arrays internally which match
the user id and IP address. I use the IP Address to get their user ID
and then look up their user information and settings.
So today I'm in the process of switching to using the session itself.
Each user's browser should get a different internal session id, so
what I'm hoping will be simple to do is to add a third array to store
the internal session id and use that to find out who they are.
I plan to do this in the 'On Execute' method of Active4D.a4l.
I'll let you know how that goes.
HTH,
Randy
----------------------------------------
Randy Jaynes
Management Software
On Jul 14, 2005, at 10:12 AM, Bart Alcorn wrote:
I have a client, who has a group of users who are NAT'd behind a
corporate router offsite. (Thus the entire group has the "same" IP
from our end.)
Each user has an unique Username/Password, but occasionally,
despite our recommendation, they will have two, or more users
signed in using the same credentials.
We start sessions as part of On Authenticate, and as such, when two
or more users are using the same log in, they "share" a session.
This has led to some bizarre results when they are doing order
entry. User one starts an order, user two does something to change
the session data, user one processes "their" order... you get the
picture. Obviously, they are suppose to use their own unique log
ins, but we can't control what the meatware does.
Since they all appear to come from the same IP, I don't see any
way to differentiate two different people using the same log in.
I don't see this as a failure or bug on A4D's side, it's performing
session management beautifully, but the (L)users are making us pull
what little hair we have left out.
Anyone have any suggestions?
--
Bart Alcorn AvantraNet, Inc.
Office: 678-580-3265
Mobile: 770-335-5518
AIM/iChat: AvantraNet
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/