I have problem with session timeout even i added code in web.config as follows but its not working, it expires within 10 mins.
Check your application pool idle timeout it defaults to 20 min (if app pool is idle for 20 min it'll recycle and all in-Proc sessions will be cleared) increase its timeout