I have a Business Object called audittlogonoff.
I have set-up a LogInNotificayion of type when loginnotification is received to create an entry in this BO. It sroes the date, login user and an attribute to state 'LogIn'. This works fine.
I have tried the same for LogOut notification, but if I use either When Received or When Created it will not create the audittlogonoff object entry. Is there some different method used for LogOut ?
LogIn When Received (working):
CREATE AuditLogOnOff WITH AuditLogOnOff.UserName=LoginNotification.LoginName,AuditLogOnOff.DateTime=CURRENT_TIMESTAMP,AuditLogOnOff.LogType='LogIn'
LogOut When Created or Received (Not working)
CREATE AuditLogOnOff WITH AuditLogOnOff.UserName=LogoutNotification.LoginName,AuditLogOnOff.DateTime=CURRENT_TIMESTAMP,AuditLogOnOff.LogType='LogOut'
LogIn and LogOut notifications
-
- Posts: 595
- Joined: Sun Apr 24, 2005 2:22 am
- Contact:
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Thank you - I have tested this in operation mode and it does write the logout notification action.
One thing has arisen however. Prior to upgrading to 2.2 I was able to have more that 1 browser open and run the same business space logged in as different users. This was very usefull as I could test data changes by different users. Now when I open a second browser and log on, the first browser also captures the second logged on person instead of maintaining it's own logged in user.
Has something changed to cause this ?
One thing has arisen however. Prior to upgrading to 2.2 I was able to have more that 1 browser open and run the same business space logged in as different users. This was very usefull as I could test data changes by different users. Now when I open a second browser and log on, the first browser also captures the second logged on person instead of maintaining it's own logged in user.
Has something changed to cause this ?
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
No, nothing has changed in version 2.2. Working with two browsers on the same machine is not guaranteed to be 100% reliable in web applications. This is not an Aware IM - specific problem. Sometimes the web server will get confused as to which session the data is coming from and will send the output to the wrong browser. If browsers are from different machines the problem will never happen.
Aware IM Support Team
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact: