Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 5th, 2008, 12:45 PM
Authorized User
 
Join Date: Nov 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Avoid multiple logins

Hi:

Is there any way to avoid a user to log in a wesite more than once?, I need that functionality in my web site, If a user logs in, he shouldn't be able to log again, until he logs out or closes the browser.

Regards,
Gabriel

 
Old March 6th, 2008, 11:47 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Unfortunately you are likely to find it very difficult to reliably detect when a user closes their browser. Thus you are likely to encounter many occurrences of a user unknowingly locking themselves out.

I typically hesitate to express personal opinions about questions, but this just seems too problematic. What is your justification for denying the user concurrent logins? My feeling is that this is an unreasonable restriction.

-Peter
peterlanoie.blog





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to avoid multiple display of CDATA 2BOrNot2B XSLT 1 July 18th, 2008 03:16 PM
multiple problems with logins and gridview hindereduseless ASP.NET 2.0 Basics 0 May 3rd, 2006 01:01 AM
logins/filters desireemm SQL Language 1 August 17th, 2004 05:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.