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

  • Home
  • SEARCH
  • 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 1113011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:47:35+00:00 2026-05-17T02:47:35+00:00

I’m currently working on solving a bug with a site I’ve been working on

  • 0

I’m currently working on solving a bug with a site I’ve been working on for some time now. The issue I’m having is my session objects are being overwritten occasionally when users call the site at the same time.

My current session mode is In-Proc and after reading another thread regarding a similar issue I believe my problem may be related.

The site uses Sql Reporting Services to generate some legal documents by querying a database and using XML from two different web services. In the session I store a custom object that contains members holding the data to generate the document in SRSS.

The issue I’m having happens when I open two instances of the site at the same time. The Session IDs are different, but when I begin generating the forms the two objects tromp all over each others data somehow. I’m still not quite sure how it’s happening.

My thoughts thus far have been to attempt to store some of the more sensitive members of the class in the session explicitly to see if that would help correct some of the corruption, or to move over to another form of session management. I have access to a SQL server so I could use the SQL session storage mode.

Anyone have any recommendations/ideas?

  • 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-17T02:47:35+00:00Added an answer on May 17, 2026 at 2:47 am

    My guess would be that the custom object that you’re storing in session may:

    1. have some static variables.
    2. reference another object that has static variables.
    3. also be stored in the Application or Cache dictionary or in a static variable somewhere.
    4. reference an object that is also stored in the Application or Cache dictionary or in a static variable somewhere.

    I would suggest analyzing the object graph of the object that you’re storing in session to see if there are any parts of it that are accessible from multiple threads based on criteria 1, 2, and 4 above.

    If everything looks fine with the object graph, then I’d probably start looking at how that object is populated, looking for any cases of 3 or 4.

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

Sidebar

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.