You can add field auth_user (client with default to request.client) then in db.py
if auth.user and auth.user.client!=request.client: session.flash="oops" redirect(URL('user/logout')) On Nov 12, 8:39 am, Paul Gerrard <p...@gerrardconsulting.com> wrote: > Two machines with FF would be more reliable :O) > > I have a related question. Is there are way of stopping a user account > being used by more than one person simultaneously? Is there anything > in Web2p to help with thsi or would I need to have some form of DB/ > session solution? > > Thanks. > > On Nov 11, 5:23 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Short answer no. > > > Yet I found > > this:http://www.fusioncube.net/index.php/multiple-sessions-firefox > > > I did not try it. > > > On Nov 11, 11:14 am, Alex <yue.a...@gmail.com> wrote: > > > > Hello, > > > > I have a question regarding how the authentication defines each unique > > > user session. I am working on an app that uses the authentication and > > > was trying to test with multiple users logged onto my site. > > > > My test is opening IE and logging onto the site as one user, then > > > opening a new IE instance (not new tab) and trying to log on as > > > another user. The problem is, it seems that the application still > > > sees each session as 1 so once I log in on the second browser, it > > > changes the login of the first browser. > > > > Is there a configuration so I can test this? > > > > It works if I use IE as one session and Firefox as another, but was > > > just curious what may be causing this. > > > > Thanks! > >