I am using ASP.NET 4.0 for a site I am making. It has a login that leads to some backend sites. That all works fine... BUT... There seems to be a logout thing in the Session cookie. Whenever I login and leave it for a few minutes it logs me out when I load the page.
Does anybody know what I can do to change this... or remove it??
you need to set your session timeout on your web.config:
<configuration>
<system.web>
<sessionState timeout="10"></sessionState>
</system.web>
</configuration>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With