Hello,
when I try in Javascript to insert a new doc in my DataBase, the doc is automatically deleted from the base after 3-4 minutes, I don’t understand why, because I don’t make any action during this time
The code I use:
var newItem = new ActiveXObject (“Msxml2.DOMDocument.4.0”);
newItem.loadXML(“”+ID+“1”+Capacity+“”+NBar+“0”+Brand+“” );
QueryObj.startSession();
QueryObj.insert(newItem);
Thanx for any helps
Regards
Dave
Dave Vuistiner
HEVs, Sion / Switzerland
I suppose the document desappears after a time equal to the “maximum transaction duration” database property (300 seconds by default).
I think you aren’t finishing your transaction.
What about “commit” method ?
What about “endSession” method ?
Do you have them in your code ?
Merry Christmas and happy New Year.