Greetings,
I'm using 7.0rc2. In the <body> tag of my page I'm doing a javascript call to a function that does a DMI call to a java class. For some reason it's leaking memory. When I load the page the memory usage climbs, quite a bit in fact. Each load uses more memory. When I'm not doing the call, the leak doesn't exist. I don't see any way to destroy the object, so I'm wondering what is the appropriate method do use here? Am I doing something improperly?
This is for controlling login. I know ISC has some login management features, but they won't work for us because of some 3rd party garbage we use for managing session/login.
Thanks!
I'm using 7.0rc2. In the <body> tag of my page I'm doing a javascript call to a function that does a DMI call to a java class. For some reason it's leaking memory. When I load the page the memory usage climbs, quite a bit in fact. Each load uses more memory. When I'm not doing the call, the leak doesn't exist. I don't see any way to destroy the object, so I'm wondering what is the appropriate method do use here? Am I doing something improperly?
This is for controlling login. I know ISC has some login management features, but they won't work for us because of some 3rd party garbage we use for managing session/login.
Code:
<body onLoad=verifySession()>
Code:
function verifySession() {
try {
isc.DMI.call('VerifySessions', 'VerifySessionCtrl', 'checkSessions', null, 'verifySessionCallback(rpcResponse)');
}catch (err) {
isc.warn("An exception occurred. " +
" Error name: " + err.name + ". Error message: " + err.message);
}
}
function verifySessionCallback(rpcResponse) {
if (rpcResponse.data == false) {
//alert(' loginlink: <%=__loginLink%>');
document.location.href = "<%=__loginLink%>";
}
}
Comment