Session_End does not fire?

前端 未结 5 1545
眼角桃花
眼角桃花 2020-12-03 10:28

I want to sign out a user when his session times out. So used following code in Global.asax:

protected void Session_End(object sender, EventArgs e)
{
    For         


        
5条回答
  •  醉话见心
    2020-12-03 11:11

    In your web.config you need to have the sessionState element as a child of the element

    
         
              
              .....
         
    
    

提交回复
热议问题