I'm developing a MVC4 application with NHibernate. In my computer it works great, but when I deploy my application on my shared hosting provider I noticed that NHibernate starts all over again every 40 minutes. NHibernate must start just once, when the App starts, it takes about 10 minutes to initialize.
After trying to solve the problem, I discovered that the problem is with the host server because its Idle Time-out is 40 minutes, and I can't change this time! How can I fix it ? I already tryed to use a Timer or another thread to perform some action and tryed this website too http://www.uptimerobot.com to ping my site every 5 minutes. But none of this seems to work..