
A particular session timeout functionality works when a webpage is loaded. The webpage has parent/child windows. This timeout functionality works in the parent window(home page) even when the child windows are open. And so i included the following code.
function checkForParent() {
try {
var x_win = window.self;
while(x_win!="undefined")
{
if(typeof(x_win.opener)=="undefined") {
x_win.resetSessionCounter();
break; }
else {
xwin = xwin.opener;
} } }
catch(e) {
window.status="Exception occurred during session counter update "+e.description; } }
But when the same webpage is accesssed through a hyperlink the time out functionality does not work. this may be because the code takes the page which has the hyperlink as the parent and never calls the resetSessionCounter() function.Please help me out to solve this issue so that the functionality works even when the webpage is accessed through a hyperlink.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.