Hi all
I have created a javascript for session timeout warning
function warningMsg(){
if(confirm('Your Session is above to expire Click OK to Continue.'));
{
var url ='processMemberCaseSearch.do';
ahahSynchronousWithoutResponse(url);
}
}
function sessionWarn(warnTime,chk ){
if(chk !="yes"){
intervalId=setInterval('warningMsg()',warnTime);
}
}
which will be called by onLoad() of root or parent
jsp(we are using tiles)
since all the pages extends the root/parent jsp the alert is prompted in all the pages one by one
Is there any way to control the alert in child windows (jsp)