Can I set Session timeout for a specified Session variable differently than other Session Variables
        Posted  
        
            by Eppz
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Eppz
        
        
        
        Published on 2009-01-28T20:01:54Z
        Indexed on 
            2010/03/13
            18:05 UTC
        
        
        Read the original article
        Hit count: 914
        
asp.net-2.0
|vb.net
I'd like to set the timeout on a specific Session Variable in a .Net web application, but leave other Session variables alone. Is this possible?
Example:
I have 5 Session Variables
Session(var1) Session(var2) Session(var3) Session(var4) Session(var5)
I want to set it so that Session(var1) through Session(var4) have a timeout of 8 hours (480 minutes), but Session(var5) has a timeout of 20 minutes. Can it be done?
© Stack Overflow or respective owner