你是在哪个文件里设的Session.Timeout=2000
如果是在web.config里的话,你上global.aspx.cx
 protected void Session_Start(Object sender, EventArgs e)
{
Session.Timeout = 2000;
}
试试!

解决方案 »

  1.   

    make sure it is not due to application recycling, seehttp://support.microsoft.com/default.aspx?scid=kb;en-us;Q316148
      

  2.   

    1.在web.config里
     protected void Session_Start(Object sender, EventArgs e)
    {
        Session.Timeout = 2000;
    }
    2.朋友的机器安装.NETFRAMEWORK了吗?
      

  3.   

    <sessionState 
                mode="InProc"
                stateConnectionString="tcpip=127.0.0.1:42424"
                sqlConnectionString="data source=127.0.0.1;user id=sa;password="
                cookieless="false" 
                timeout="20" 
        />
    timeout就是session保存的时间,单位为分钟.