Join Now
|
Login
home
login
join now
.NET pattern framework
javascript + jquery patterns
database pattern framework
products and pricing
.NET design patterns
javascript design patterns
javascript tutorial
sql + database tutorial
connection strings
visual studio shortcuts
c# coding standards
html color codes
all references
explore
questions
ask question
tags
users
contact us
training courses
schedule
registration
about us
training and education for professional developers
login
join now
Home
Questions
Question
« Prev Topic
|
Next Topic »
Design Patterns for Parallel Logins
Ernesto Camacho
50
50
Aug 02, 2010
0
Can anyone please tell me or point me to some good examples where, what and how design patterns are best applied for blocking parallel logins?
Design Pattern
Parallel Login
Add Comment
Flag
Follow
Email
2 answers
answer date
votes
comments
Pankaj Mhatre
100
96.6
Aug 03, 2010
0
I thinnk you can try creating a ThreadSafe Singleton Login class. Singleton class will ensure that there is only one Login object created & Threadsafe(
http://www.albahari.com/threading/part2.aspx#_Synchronization_Essentials
) would make sure it's used by one thread at a time to solve parallel access issue. Does it solve your issue?
Can anyone else comment on this?
Add Comment
Flag
Link
Ernesto Camacho
50
50
Aug 04, 2010
0
Hi Pankaj, thanks for your suggestion. Surely this points me to a starting point.
Add Comment
Flag
Link
Write Your Answer
return to top