I have a 2 page website. The first page is a logon page. The second is an activeX control showing a custom app. I need to track web users through session/application scope variables. I require, that while the user is on the activex page...that their session not expire. Problem is, A session expires at timeout if no page loads have occurred, or if no variables have been saved in the session scope.
Is there a way to constantly "ping" the session to keep it active? (without loading or refreshing a page). i only want the session to timeout after the user closes their browser or loggs off
Idea 1: Slowly loop constantly. On each itteration, update a session variable (alive=alive+1). I need such a function to run on page load in the background, constantly, through vbscript or javascript. When user closes his browser, the loop stops(of course) and session times out after one minute.
Note: i can't refresh the current page, I dont want to open a child window that refreshes, I need a solution fast!!!
Please help! Brandon W
Is there a way to constantly "ping" the session to keep it active? (without loading or refreshing a page). i only want the session to timeout after the user closes their browser or loggs off
Idea 1: Slowly loop constantly. On each itteration, update a session variable (alive=alive+1). I need such a function to run on page load in the background, constantly, through vbscript or javascript. When user closes his browser, the loop stops(of course) and session times out after one minute.
Note: i can't refresh the current page, I dont want to open a child window that refreshes, I need a solution fast!!!
Please help! Brandon W