本文介绍了ASP.NET会话超时问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hey Guys,



i有严重的问题



我已经在线上传了我的申请表大约40分钟后可能会少一些可能更多没有动作在网站上我得到这个错误



============== ======================

Hey Guys,

i have a serious problem

i've uploaded my application online and after about 40 minutes may be less may be more with no action on the website i got this error

====================================

Server Error in '/' Application.

Value cannot be null.
Parameter name: source

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: source

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.



============== ======================



我认为会话超时



我正在使用表格A.验证和我将时间设置为90如下



=================== =================


====================================

i think that session times out

i am using Forms Authentication and i set the time out to 90 as follows

====================================

<system.web>
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
      </assemblies>
    </compilation>
    <authentication mode="Forms">
      <forms defaultUrl="Home.aspx" cookieless="AutoDetect" loginUrl="Login.aspx" timeout="90"></forms>
    </authentication>
    <authorization>
      <deny users="?" />
    </authorization>
    <customErrors mode="Off"></customErrors>
  </system.web>



============= =======================



i不知道问题在哪里



可以任何一个帮助plz ??


====================================

i don't know where is the problem

can any one help plz??

推荐答案


这篇关于ASP.NET会话超时问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 03:37