Hai
i have website with master page,in master page i am use page timeout expiry(website ideal) for 15 mins if user again use website timer will restart like as follow
<script type="text/javascript">
var logoutUser = false;
var timeoutHnd = null;
var logouTimeInterval = 15 * 60 * 1000;
function onuser_activite() {
if (logoutUser) {
;
}
else {
ResetLogOutTimer();
}
}
function OnTimeoutReached() {
logoutUser = true;
alert("You have been automatically Log Off from the system !");
window.location.href = "Logout.aspx";
}
function ResetLogOutTimer() {
clearTimeout(timeoutHnd);
timeoutHnd = setTimeout('OnTimeoutReached();', logouTimeInterval);
}
document.body.onclick = onuser_activite;
timeoutHnd = setTimeout('OnTimeoutReached();', logouTimeInterval);
</script>
In child page i use AD(Active Directory) to retrieve data.if i click and retrieve data from AD it take long time(30 mins) and also "PageRequestManagerTimeoutException" bcz by default it wait for 90 secs,So what i do ,i remove the timeout expiry from my master page and increase the pagerequest manager time 90 secs to 10 hrs based on this example
Solution of Error "PageRequestManagerTimeoutException" using DNN Framework[
^] and it works,i mean it retrive data form AD and then page get referhed.
My problem is i need to use page time out expiry for 15 mins,bcz if website ideal for 15 mins automatically show msg and logout the user.so how i handle this i mean need to retrive data form AD (it take 30mins) and also website idleal for 15 mins need to logout the user.
How my page time out expiry work ? bcz it retrieve data form AD(up to 30 mins) then website not
ideal ?? my time out expiry is restart timer again ? (bcz i am restart timer in document.body.onclick = onuser_activite; data retrive from AD is not document.click event)
Pls reply asap....
Regards
Aravind