Atozed Forums
Exception message : Session ID is invalid. - 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: Exception message : Session ID is invalid. (/thread-1366.html)



Exception message : Session ID is invalid. - Mikael Nilsson - 11-07-2019

Hello,

I initiated the logging in the Server unit. I can see it generates very , very many errors Like Session ID is invalid.
Is this normal?




------------------------------------------------------------------------------------------------------------------------
Exception message  : Session ID is invalid.
Session ID is invalid.
Exception class    : EInvalidAppID
Session ID        : 1ZlrAUCop0u-1GLmNLEV0LJNsZe
Exception address  : 066FF4FF
Exception Time    : 2019-11-07 12:25:16.958
------------------------------------------------------------------------------------------------------------------------
Application Name  : isapiXIBwwd.dll
Application Version: 1.0.0.0
Started at        : 2019-11-07 00:12:30.807
Running for        :  12 hours 12 minutes 46 seconds


RE: Exception message : Session ID is invalid. - Alexandre Machado - 11-07-2019

What's your IW version?


RE: Exception message : Session ID is invalid. - Mikael Nilsson - 11-08-2019

Delphi 10.3.2
IW 15.1.7

I also get Exception message  : Out of memory and web application crashes 500

xception message  : Out of memory
Tag: body
Tag: div
Tag: div
Tag: form
Depending on the error condition, it might be possible to restart the application.
Exception class    : EOutOfMemory
Exception address  : 0603AFAF
Exception Time    : 2019-11-08 08:30:08.979
------------------------------------------------------------------------------------------------------------------------
Application Name  : isapiXIBwwd.dll
Application Version: 1.0.0.0
Started at        : 2019-11-08 00:12:00.094
Running for        :  8 hours 18 minutes 8 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      : 2207
Application Path  : D:\Inetpub\wwwroot\kundzon.itella.se\wwd\
Active Form        : [unassigned]
Active Form list  :
Form list          :
Browser Name      : Microsoft Edge
Browser UserAgent  : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299
Session ID        : lx~omPKN1InTznzlVkqBn227FNi
Last Access        : 2019-11-08 08:30:08.963
Callback          : False
Runtime parameters :
------------------------------------------------------------------------------------------------------------------------
Client IP address  : 10.163.65.1
Request PathInfo  :
Request Method    : GET
Request User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299
Cookies Count      : 0
------------------------------------------------------------------------------------------------------------------------
[Stack trace is empty]
------------------------------------------------------------------------------------------------------------------------

And now I got a ajax message message:

If I click on OK I could proceed.. But this is nothing I want to show to our web users


RE: Exception message : Session ID is invalid. - Alexandre Machado - 11-08-2019

Invalid session ID is just saying that the session is expired.

The out of memory exception hardly has anything to do with actual memory usage. This is caused in general by corrupted data (e.g. trying to use an object which has already been freed). Very likely to be something in your code causing it.

You have no stack trace in your application so I suggest you enable stack tracing in order to identify why/how the out of memory exception is happening.

Please have a look at this document:

http://docs.atozed.com/docs.dll/development/Using%20the%20Exception%20Logger.html