How to programmatically end an ASP.NET session after a given amount of time.
        Posted  
        
            by vaitrafra
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by vaitrafra
        
        
        
        Published on 2010-06-15T11:36:09Z
        Indexed on 
            2010/06/15
            11:42 UTC
        
        
        Read the original article
        Hit count: 208
        
Hi, we're in need to stop the user session in an ASP.NET site after some time(say 20 mins).
We know we can use a timer and code every page to expire on the timer tick, but we're searching a faster way, maybe through an IIS configuration?
Is there a built in way to do such things?
We're using ASP.NET 2.0, Framework 3.5, IIS 6, c#.
TY.
© Stack Overflow or respective owner