在web.config设置  
  <sessionState  
      timeout="时间"    
  />
试试
如果不行那么就用

protected void Session_Start(Object sender, EventArgs e)
{
HttpContext.Current.Session.Timeout
=时间
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2021-09-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2022-12-23
  • 2021-07-14
相关资源
相似解决方案