Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8402195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:59:29+00:00 2026-06-09T21:59:29+00:00

If we want to store sessions in SQL Server, which table stores the sessions?

  • 0

If we want to store sessions in SQL Server, which table stores the sessions?

To implement ASP.NET SQL Server mode session state management, you must modify the element of your application’s Web.config file as follows:

1.Set the mode attribute of the element to SQLServer to indicate that session state is stored in SQL Server.

2.Set the sqlConnectionString attribute to specify the connection string for SQL Server. For example:

  sqlConnectionString="data source=MySQLServer;user id=<username>;password=<strongpassword>"

Note The user, , must have permissions to perform this operation on the database.

The modified element should appear as follows:

        <sessionState 
        mode="SQLServer"
        sqlConnectionString="data source=127.0.0.1;user id=<username>;password=<strongpassword>"
        cookieless="false" 
        timeout="20" 
/>

The question is that is there a particular table storing the sessions?

Store session in SQL Server is a vague concept.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:59:31+00:00Added an answer on June 9, 2026 at 9:59 pm

    You’re supposed to run the ASP.Net SQL Server Registration Tool first. The tool will create the appropriate session state tables.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an ASP.NET application that uses SQL Server to store its session state.
We want to store session in SQL Server. We have sessionState mode=SQLServer. I have
In GWT I want to store an Object on the server that contains session
I'm building an ASP.Net website. I have a cart class which stores the items
I want to implement the user authentication and login page in ASP.NET, I want
The project I am currently working on involves MS SQL Server and ASP.net Web
I want to invalidate sessions of users based on some Event. I store their
I want to store JSP session data in a custom store (the one I
I want to use session object in my web app.I want to store some
Is there something like SESSION in Windows application? I want to store a few

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.