I have problem with session timeout even i added code in web.config as follows but its not working, it expires within 10 mins.
Despite your Server has session timeout of 20 minutes as you mentioned. you may lost session state data for the following reason:
Solution: use StateServer session state mode:
visit this link to configure StateServer: Configure a State Server to Maintain Session State