MVC HTML.RenderAction – Error: Duration must be a positive number

后端 未结 4 1775
没有蜡笔的小新
没有蜡笔的小新 2021-02-13 04:27

On my website I want the user to have the ability to login/logout from any page. When the user select login button a modal dialog will be present to the user for him to enter i

4条回答
  •  [愿得一人]
    2021-02-13 05:10

    Adding my comment as answer:

    Hmm, that's weird. By reading your question I am ready to bet 5 bucks that you have caching enabled somehow. Try renaming the action, controller. Make sure that the action you are calling is not decorated with the [OutputCache] attribute. Try doing this in a new project that you start from scratch. I am sure you will be able to narrow it down.

提交回复
热议问题