简体   繁体   中英

IIS App Pool

If my host automatically recycles the app pool when it reaches a certain size will this cause all users sessions to be lost and the user to be logged out?

If this is the case would moving InProc sessions to SQL fix the issue? Would doing this also save much memory?

Thanks

Gavin

Yes, all user sessions in the pool are gone. If you use an out-of-proc SQL Server, it will survive app pool resets. see http://www.eggheadcafe.com/articles/20021016.asp for some more remarks.

It will save memory on your IIS server, but be aware of the performance considerations.

是的,将会话移至SQL Server将解决该问题。

是的,使用会话外的解决方案将解决此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM