Results 1 to 2 of 2

Thread: multiusers problem in asp.net

  1. #1
    Join Date
    Dec 2011
    Posts
    1

    multiusers problem in asp.net

    how to handle the database when multiusers are inserting data at same time

    flow

    1.First user click on save button
    2.sp_1 will be execute which is used to insert the data in table1
    3.primary key value will be retrive from sp_1 to aspx.cs form.
    4 sp_2 will be execute next. Which is used to inset the data in table2 with the primary key of table1


    At the point 1 more than one user press Save button and only one user data is saving in database while others data is not saving.


    Any solution for this.

  2. #2
    Join Date
    Apr 2009
    Posts
    488

    Re: multiusers problem in asp.net

    I don't have that much of information about the asp.net, but if i have to create the same thing in the JSP or in Java then i make use of the Multithreading based program for this thing. because inspite of creating the object for each and every users, you can simply create the Thread for handling each request from client and response from the server. this is the best and the effecient way for handling the multiple user at a time.

Similar Threads

  1. Sony VGNCS3 laptop 15 inch screen problem...LCD or CHIP problem?
    By Mick$Tyler in forum Hardware Peripherals
    Replies: 5
    Last Post: 31-10-2010, 06:49 AM
  2. Replies: 6
    Last Post: 27-07-2010, 12:10 AM
  3. hard disk problem, clicking sound and windows problem
    By rajat_2589 in forum Hardware Peripherals
    Replies: 1
    Last Post: 16-06-2010, 11:34 PM
  4. Replies: 4
    Last Post: 10-04-2010, 04:19 PM
  5. AD problem in Server 2003, Userenv Event ID 1053 problem
    By Victor Kam in forum Active Directory
    Replies: 3
    Last Post: 24-09-2007, 04:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,668,997.58852 seconds with 17 queries