I am building a website using visual studio 2012 express where i want to register logout time of each user by clicking logout button. I am using Session_end event in global.asax file. I have set sessionState mode=Inproc, cookieless=fals e and timeout=1 in web.config. Its working fine when user logout, inactive more than timeout period and close browser in development pc (visual studio 2012 express, IIS express). But when i published this website to a host site Session_end is not working. What should i do? What i am doing wrong here??