asp.net - Increasing application pool session time out not working -
in project, need hold session 720 minutes using forms authentication set 1440 (session*2) , when hosting iis session time out became default 20 minutes changed application pool idle time-out(minutes) 720 . suggested many , session time out happening after 20 minutes .i dont know why happening . using iis (7.5). 1 please me. been more 1 day searching through internet ,i cant find proper answer nb: forms authentication works fine
website session.timeout work when less application pool session timeout value; because whenever application pool session timeout value reached, particular application pool restarted. have 2 things: application pool has own session timeout value, , web site has session timeout value. microsoft has given parameter session.timeout change website session timeout value. not application session timeout value. have understand 1 thing here: have make sure application pool session timeout value greater website session timeout value; session.timeout parameter work; otherwise, won't. reason follows: whenever application session timeout reached, application pool restarted , because of session.timeout of website parameter won't work.
please check these points , try
application pool => advanced settings => process model => idle time-out(minutes) sites => whatever web needs set => asp => session properties => time-out remember apply change sites => whatever web needs set => configuration editor => system.web/sessionstate => timeout remember apply change sites => whatever web needs set => configuration editor => system.web/rolemanager => cookietimeout remember apply change
Comments
Post a Comment