Check out example codes for "asp.net c# set session timeout". It will help you in understanding the concepts better.

Code Example 1

<configuration>
      <system.web>
         <sessionState timeout="20"></sessionState>
      </system.web>
    </configuration>

Learn ReactJs, React Native from akashmittal.com