Thanks :)
yep i am digging this deeper. found the script area causing the issue.
FB.Event.subscribe('<?php echo $logout ? 'auth.logout' : 'auth.login'?>', function(response) {
//setTimeout("window.location=<?php echo qa_js($tourl)?>", 100);
});
I have commented this part now. And understanding further. Basically settimeout is set to 100 secs. so when the user stays on the page for > 100 sec he gets redirected to the login page. Can you suggest a better solution