Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to avoid Concurrency Problem?

How to avoid Concurrency Problem?

Scheduled Pinned Locked Moved ASP.NET
helpdatabasetutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mcmilan
    wrote on last edited by
    #1

    Hi, I am developing a website in which users register with their data. Immediately after registering a Unique number is generated. So there is a chance of 3 or more users registering at the same time. At that time concurrency problem will occur........How to avoid? I am using SqlExpress as database and I wrote the code in Register Button click..... Please help me.... Thanking you McMilan.

    T 1 Reply Last reply
    0
    • M mcmilan

      Hi, I am developing a website in which users register with their data. Immediately after registering a Unique number is generated. So there is a chance of 3 or more users registering at the same time. At that time concurrency problem will occur........How to avoid? I am using SqlExpress as database and I wrote the code in Register Button click..... Please help me.... Thanking you McMilan.

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      Get the unique number in the global.asax session start save it in session and use it when needed.

      I didn't get any requirements for the signature

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups