Why asp.net session is expired sooner than its timeout?

前端 未结 3 1237
南旧
南旧 2021-01-06 21:55

I have an Asp.net webservice. It has method M1. M1 creates a folder for each session. When a session is expired, I delete that folder in global.asax using the following code

3条回答
  •  孤街浪徒
    2021-01-06 22:41

    Did you add the following to your WebMethods?

    [WebMethod (EnableSession = true)]
    

提交回复
热议问题