1. As already mentioned in a reply to
THIS POST, only one physical connection can keep a lock on a Session at a time. If your Server is multi-threaded and you have more than one physical connection, when both connections try to lock a Session at the same time, only one will succeed. The other one will fail, because access to a Session object is exclusive.
2. If you do NOT manually unlock a Session in your code, the Session object will remain locked until the end of a request/response chain that acquired the lock.
3. When working with TRtcDataProvider components, you have full control over Sessions and Cookies. There is no RTC code which would create Cookies automatically. If a cookie is being created, it is being created because you wrote that code.
4. Without seing your code, it is hard for me to know what you are doing. If you have more questions about Sessions and Cookies, please post the code you wrote for handling them.
Best Regards,
Danijel Tkalcec