<system.web>
<sessionState mode="InProc" timeout="25" cookieless="false"></sessionState>
</system.web>
This is how i set session timeout in my web.config file.But it's not working.Session goes null after redirecting the pages 3 to 4 times or if not doing anything for 3 to 5 minutes.