Solved

Multi user problem asp.net

Posted on 2006-07-19
1
307 Views
Last Modified: 2012-05-05
Hi,

I have created a prototype asp.net application that uses framework v2 in c#.  I have used session variables and apply standard insert statements to update a sql server database as needed - however, when more than one user is logged into the website, only the records created by a single user make it to the database.  

SessionState mode is set to inproc, the default.  I am using basic forms authentication with a sql server table of usernames/passwords.  What are the possible causes?


0
Comment
Question by:jasoncpp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 24

Accepted Solution

by:
Justin_W earned 500 total points
ID: 17140231
It sounds like this is most likely totally unrelated to session issues.

Probable causes:

1. Your users' sessions are all calling some shared code for the DB update, and the shared code isn't thread safe. E.g. Your code might not open and close connections properly or commit transactions properly if multiple threads are simultaneously accessing the code.

2. Your app is encountering DB concurrency errors where multiple users are trying to update the same data simultaneously. If this is the case, an Exception should occur somewhere. If you aren't seeing any logs of such an occurrence, your event handling code may be "hiding" the exception if you aren't dealing with them properly.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question