session active and close the browser without login off...
-
hi Friend's Suppose i have one application which having session time out set as 45 min, now the scenario is suppose one user login and activate that session and close the browser without login off. what happen to that session? Is that session automatically terminate by garbage collection? Or still remain active and if so then how to handle this session? Thank's and regard's
Sasmi
-
hi Friend's Suppose i have one application which having session time out set as 45 min, now the scenario is suppose one user login and activate that session and close the browser without login off. what happen to that session? Is that session automatically terminate by garbage collection? Or still remain active and if so then how to handle this session? Thank's and regard's
Sasmi
Session will kill automatically after the defined time frame.
Parwej Ahamad ahamad.parwej@gmail.com
-
hi Friend's Suppose i have one application which having session time out set as 45 min, now the scenario is suppose one user login and activate that session and close the browser without login off. what happen to that session? Is that session automatically terminate by garbage collection? Or still remain active and if so then how to handle this session? Thank's and regard's
Sasmi
Session is maintained on server. So you don't need to worry about session time out. If the session is active and user close the browser, the particular session will automatically goes down when it reaches to session time out. Now, if you want to perfrom some operation on session timeout or you want to clear the data base information while user log off the application, you need to handle the Session_End Event in global.asax and you may need to trap the browser close also.
Cheers ! Abhijit Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.