Solved

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

Posted on 2013-11-04
2
312 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Media.Imaging 1 18
FTP file download using c# 3 23
C# winforms programmitically move panels 6 29
ASP.NET MVC -Add authentication 2 21
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 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