Dofactory.com
Dofactory.com
 Back to list
Views:   10.8K
Replies:  2
Archived

Design Patterns for Parallel Logins

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?
Ernesto Camacho, Aug 02, 2010
Reply 1
Hi Pankaj, thanks for your suggestion.  Surely this points me to a starting point.   
Ernesto Camacho, Aug 04, 2010
Reply 2
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?
Pankaj Mhatre, Aug 03, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.