Abhijit Jana wrote:
As per my understanding, he is storing some user information while user log into the system. and he is removing those in the log off. But, the problem happens when user close the browser. If user close the browser, Session_end() will only call when its time out.
That should fine and this make sure that every time Session_End gets called 1. Please tell me what happens when system crashed or browser crashed for a perticular user... 2. depending on the client browser is not idle way as there can be many scenario there javascript may get failed. that's why i asked him is it necessary to update the DB no sonner user closed the browser? I think log information he can update when session_end gets called?
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog