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 1116051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T03:14:46+00:00 2026-05-17T03:14:46+00:00

My website/application is in ASP.NET. I use the traditional Session object when people connect

  • 0

My website/application is in ASP.NET. I use the traditional Session object when people connect so they have their preference, etc.

My problem is that sessions were lost very often. I discovered that my hosting company was using load balancing on their servers, so one request on my website can be on one server, and the other on another one.

I tried to store the session data in a SQL Server database, but I quickly discovered that I can’t create the needed database on my shared server because I only have one database in my package. Also, there is no guarantee that the rest of the script would have been able to run.

My questions: is there any other way to get around this problem? Should I buy another database only for this? Is there another type of session that I could use? Is there anything else I can use instead of session to keep track of my user when they are connected on my website?

I’m really open for any type of solution! Thanks a lot!

  • 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-05-17T03:14:47+00:00Added an answer on May 17, 2026 at 3:14 am

    ASP.NET allows you to specify how you want the Session management handled.

    As you’ve discovered you can use SqlServer mode – but this doesn’t have to point to a separate database, it can use the same database that you already have.

    There are also separate third party packages for managing web farm sessions, but you probably don’t want the expense (and probably won’t be able to install a package like this) for the setup you have.

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

Sidebar

Related Questions

I have an asp.net website that uses a web application and they are both
I have a website running a basic ASP.NET application that is mostly used from
I use svn and asp.net. We have a website and there is an error
i have an ASP.NET application (website, catalog-like). No high load expected (not more than
I have an ASP.NET website and a seperate C# application. The application writes data
I am trying to convert an ASP.NET website into a web application project. The
I have an ASP.NET application that accesses private key in a certificate in the
I have a website in IIS 7, ASP.NET 3.5 which works well. I have
i have the following situation, i have a Reporting layer(stand alone) in asp.net application(NOT
I have an ASP.NET application running on Apache server with mod_mono. If I have

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.