on 02-20-2015 11:31 AM
Hello,
I have a SAPUI5 application and use OData. In the application, the user can edit the table. When the user edits the table, then it sets a lock objects. The lock object should be removed when the browser is closed. My question is:
How can I check whether the client or browser is still there? Is that anyway possible?
Sorry for my bad english.
Best Regards,
Claudia
OData protocol is stateless and hence you cannot have persistent lock on the object on backend.
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Claudia,
Okay I have not implemented soft state feature yet and hence do not know much on it. but here are few suggestions.
If the browser is closed then I guess it will end application server session and hence the lock will be removed. Simple test you can perform is to change the table in backend session to check if it is still locked by UI5 application or not.
Or check in transaction SM12 if the lock entry is available.
also we can maintain session timeout in SICF transaction for service as mentioned in this blog
Perform test for session timeout as well.
Regards,
Chandra
Message was edited by: Chandrashekhar Mahajan
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.