Solved

What potential issues surround two logins at the same second for XML Custom Membership?

Posted on 2013-11-04
2
313 Views
Last Modified: 2013-11-05
Are there any potential issues?
Is a locking mechanism required to avoid this potential issue?
Please provide an example or link to a similar scenario?
0
Comment
Question by:XGIS
2 Comments
 
LVL 21

Accepted Solution

by:
Dale Burrell earned 500 total points
ID: 39623111
None,  even assuming you have multiple threads processing requests on your website (which IIS doesn't by default), a file can be read by multiple threads at the same time.

From a performance perspective you may be better off loading the user details from the XML file and storing them in memory. But you'd a pretty busy site to need to worry about that.
0
 
LVL 7

Author Closing Comment

by:XGIS
ID: 39623629
Thankyou Dale..timely and useful. :)
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.

808 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