asp.net - Change SQLServer session timeout in web config to use external time source -


i have web server , session state stored in sql server. need change timeout use external time source. how this?

ok, it's not hard it. suppose you're able read data table - related, said, user preference - , put data in int:

int mytimeout = [... read db]; 

it's enough add line after login procedure has been completed (or during procedure):

session.timeout =  mytimeout; 

note: timeout in minutes.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -