Hi guys.
I would like to periodically refresh a page. I have a variable that determines the frequency. Its a session variable. But no matter the default value of the session variable it always fires the true part.
The script is below. Any advice would be appreciated.
I would like to periodically refresh a page. I have a variable that determines the frequency. Its a session variable. But no matter the default value of the session variable it always fires the true part.
The script is below. Any advice would be appreciated.
functionRefreshMaintainIncidents() {varIsHyperRefresh='<%= Session["IsHyperRefresh"] %>';if (IsHyperRefresh) {setTimeout("location.reload(true);", 1 * 10000); }else {setTimeout("location.reload(true);", 1 * 60000); } }RefreshMaintainIncidents();