WebApplication.CallBackResponse.AddJavaScriptToExecute call causes Access Violation - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: WebApplication.CallBackResponse.AddJavaScriptToExecute call causes Access Violation (/thread-4440.html) |
WebApplication.CallBackResponse.AddJavaScriptToExecute call causes Access Violation - oliver - 08-22-2024 I get an exception on WebApplication.CallBackResponse.AddJavaScriptToExecute (Exception class name = EAccessViolation) when two users try to access the same page at the same moment. I have no problem as long as there is just one user displaying the page. What do I miss ? Thank you for your support. RE: WebApplication.CallBackResponse.AddJavaScriptToExecute call causes Access Violation - dianapps - 09-03-2024 The `EAccessViolation` exception happens because multiple users are trying to access or modify shared resources at the same time, causing conflicts. To fix this, ensure that your code is thread-safe and properly handles simultaneous access by using synchronization mechanisms to manage shared resources. |