i run a background thread in Application_Start() in global.asax to use it like windows service but applicaton_end fire when all session is ended in my website
i have a sms Business that work with webservice and i want to have agent in my server that check incoming message like windows service
i increase session timeout to 10 hours but when i close browser application end fired and my thread stop working
i cant change server properties
can i disable application_end to thread keep working?
I apologize to you because of poor english writing
iis automatically close website application when no session is open in website for disable this you can change idle time in iis or read website link in global.asax (application_end) function to start a new session