Session is already locked. - 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: Session is already locked. (/thread-1369.html) |
Session is already locked. - Mikael Nilsson - 11-08-2019 Why do I get this error? ------------------------------------------------------------------------------------------------------------------------ Exception message : Session is already locked. Session ID is invalid. Exception class : ESessionAlreadyLocked Session ID : ZYk2A1GFjwfY91jjTz9VpYFXpYe Exception address : 06490640 Exception Time : 2019-11-08 13:35:56.691 ------------------------------------------------------------------------------------------------------------------------ Application Name : isapiXIBwwd.dll Application Version: 1.0.0.0 Started at : 2019-11-08 12:32:01.810 Running for : 1 hour 3 minutes 54 seconds Computer Name : P-W-WWD-WEB01 Compiler Version : 330 ------------------------------------------------------------------------------------------------------------------------ IntraWeb Version : 15.1.7 Multi-session : False Content Path : D:\Inetpub\wwwroot\kundzon.itella.se\wwd\wwwroot\ Session count : 724 ------------------------------------------------------------------------------------------------------------------------ Client IP address : 10.163.65.1 Request PathInfo : /$/callback Request Method : POST Request User Agent : Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36 Cookies Count : 1 ------------------------------------------------------------------------------------------------------------------------ (0034F63B){isapiXIBwwd.dll} [0649063B] Unknown function at TMethodImplementationIntercept + $2DC82F (0034EBD4){isapiXIBwwd.dll} [0648FBD4] Unknown function at TMethodImplementationIntercept + $2DBDC8 (0033D174){isapiXIBwwd.dll} [0647E174] Unknown function at TMethodImplementationIntercept + $2CA368 (0033D6F4){isapiXIBwwd.dll} [0647E6F4] Unknown function at TMethodImplementationIntercept + $2CA8E8 (0034B667){isapiXIBwwd.dll} [0648C667] Unknown function at TMethodImplementationIntercept + $2D885B (00337F1C){isapiXIBwwd.dll} [06478F1C] Unknown function at TMethodImplementationIntercept + $2C5110 (00337D30){isapiXIBwwd.dll} [06478D30] Unknown function at TMethodImplementationIntercept + $2C4F24 (0035040C){isapiXIBwwd.dll} [0649140C] Unknown function at TMethodImplementationIntercept + $2DD600 (003506C4){isapiXIBwwd.dll} [064916C4] Unknown function at TMethodImplementationIntercept + $2DD8B8 (00009EF8){isapiXIBwwd.dll} [0614AEF8] RE: Session is already locked. - Alexandre Machado - 11-09-2019 This is not an error. It is a (handled) exception that IW raises to break a second request targeting the same session. Let's say you have a button in your form which triggers a long lasting process, for instance a long report. Let's say it takes 2 minutes to generate the report. After 30 seconds waiting the user decides to press ENTER in the address bar (thinking that it will make it generate the response faster....). This will trigger another request to the same session. But the session is busy generating the response for the first request. After (Default time) 30 seconds IW will break this request. You can control this timeout via ServerController.SessionOptions.LockSessionTimeout. You can increase the value if you wish. I've noticed that you don't have a stack trace on your error log. Please refer to this document : http://docs.atozed.com/docs.dll/development/Using%20the%20Exception%20Logger.html Double check if Debug information is checked in both COMPILER AND LINKER options! |