ASP: Dealing with simultaneous access? - TechRepublic
General discussion
September 24, 2002 at 12:30 AM
mike@ihs

ASP: Dealing with simultaneous access?

by mike@ihs . Updated 23 years, 9 months ago

Hi,

I’m writting an ASP application where users complete an HTML form (survey) and when they submit the form, I must create a folder on the server containing the form’s data in a XML file. This folder’s name is comprised of the current date and a incremented number (ex. 25012002-001). My concern is about how to effectively deal with simultaneous users submitting the form. If two or more users hit the “submit” button and launch the code to create the next available folder at the same time,how can I ensure that the folders will be created appropriately for each user?

Is there a way to “Lock” each session when a user starts the application? Locking the application?

I’d appreciate any help!

Thanks!

This discussion is locked

All Comments