On IE after a long session, I am getting a Microsoft JScript runtime error ‘childsCount’ is null or not an object.
On debugging I found that dhtmlObject._globalIdStorageFind(ParentId) is returning null.
On Firefox it works fine and redirects to login page as expected.
Is it due to DHTMLX doesnt support session timeout for IE ?
Please comment.
Thanks in advance.
Lalit
The components doesn’t have any special support for session timeout.
Most probably , when session expired component receives an incorrect data from server side, which result in mentioned problem.
If returned data an valid XML document - tree will not generated any exception ( LoadXML error ) but will try to load the data from returned document.
You can try to use attached dhtmlxcommon.js instead of original one - it is more strict against incoming data and will throw exception if incoming data has not expected format.
dhtmlxcommon.zip (5.66 KB)
Hi ,
I have upgraded my DHTMLX library to v.2.0 build 81009 .
Now I am getting an error
"Error-type:DataStructure
Description:XML refers to not existing parent " both on IE and Firefox after a long session.
What could be the reason ?
Please comment.
Thanks in advance.
Lalit
"Error-type:DataStructure
>> Description:XML refers to not existing parent " both on IE and Firefox after a long session.
a) top tag of XML is not a "tree"
b) you have where some must be equal to virtual root ID ( 0 by default ) but not equal to it.