Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Multi user problem asp.net

Posted on 2006-07-19
1
Medium Priority
?
311 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 1500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

610 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