I have this code that runs in Session_Start event to update the last activity date for each user.
I thought that by putting it in Session_Start I will guarantee that when the user access the website this event will fire & updates his last activity date and if the user left the browser idle for more than 20 min when the session is supposed to timeout & he then re-access the site , the event will fire again as the session ended but this seems not to happen.
I have been testing this with IE7, I access the site, session start fires & I can see the activity date updated in the db, I leave the browser idle for more than 20 min then I refresh but the session_start doesn't fire again, only if I opened a new browser and accessed the site but refreshing the same tab seems not to let it fire again.
I don't know if I have explained my issue well but my main question is, is it correct that the session_start event only fires when opening new browser and doesn't fire when leaving the browser idle and then re-accessing the site again thru the same tab or opening a new tab?
Thanks in advance