ASP.NET Session timeout bug
Wondering, Hitting your head against wall why asp.net sessions are timing out too soon.
![]()
Probably the directory to which you are making changes (adding/ editing / deleting files) is inside web applications folder.
If you are creating/deleteing files and/or folder in temp folder which is inside applications diretory on webserver, then application will be recycled by IIS and hence user will loose his/her session.
Simple solution : Dont make any changes to files/folder inside (programtaically/manually) web applications folder on webserver. This will lead to session being expired.