locked
I would like to set the Session time out to as large a number a possible so that a Web App doesn't time out RRS feed

  • Question

  • User-858993849 posted

    How do i change the session time out for SQL Server so that a Web App user doesn't have to keep logging if not using it for a  period of time. I have already set the "remote query time out"  in SQL Server to 2,147,483,647, which my understanding is the max.  But it does nothing.  

    Any ideas?

    Saturday, October 12, 2019 2:45 PM

Answers

All replies

  • User475983607 posted

    Can you explain how your application works?  The connection string defines the login and there is no need to login to SQL.  Are you using a SQL server to store Session and using Session to store user login?

    Saturday, October 12, 2019 3:52 PM
  • User-719153870 posted

    Hi JAYHAWKER,

    JAYHAWKER

    How do i change the session time out for SQL Server so that a Web App user doesn't have to keep logging if not using it for a  period of time.

    Not clear what kind of application it is or how it works. But i found several document that might help you:

    HOW TO: Configure SQL Server to Store ASP.NET Session State

    Why isnt the session timeout working when set to SqlServer?

    Best Regard,

    Yang Shen

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 14, 2019 6:25 AM
  • User1807285747 posted

    If it's a C# Application means, then you can increase the session time in your .config file.

    Friday, October 18, 2019 1:32 PM