Group: Forum Members
Posts: 2K,
Visits: 6.6K
|
I need to both allow the user to log out (so another user can login) and handle session locking. I know the SessionLock.LockSession is used to do this sort of thing and session locking is on by default when a SF security project is created. What I'm confused about is what exactly happens. Here are some of the things I need to handle:
- session locks, user logs back in (this one is easy and already handled by LockSession)
- user logs off so another can log on (mostly used by testers), permission will likely be different.
- session locks, the user decides to close rather than unlock
- session locks, user has unsaved changes, decides to close
- session locks, another user logs on, original use has opened forms (maybe with pending edits), permissions might be different
So, suggestions on how to handle these cases?
Mainly, I'm wondering how permissions are handled with open form are shown when a different user unlocks the session, how to handle unsaved changes when a new user logs in or the user decides to exit first (of course, it might not be the user that was logged in that is exiting) and how to allow the application to close form a locked session.
Thanks!
|