I have problem with session timeout even i added code in web.config as follows but its not working, it expires within 10 mins.
What is the idle timeout set to on the IIS Application Pool being used by your app? Since you are using InProc session, if the pool process terminates, session will be lost as well.