Re: How to allow only ONE user on an ASPX web site? (C#)
- From: "Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx>
- Date: Wed, 17 Oct 2007 16:26:36 +0100
"S_K" <steve_kershaw@xxxxxxxxx> wrote in message news:1192633406.507739.140070@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have an .aspx website developed. Because of the nature of the web
site only one user can be using this site at the same time. How do I
lock out the second user? Application["...] variable perhaps?
Only if you can absolutely 100% trust your user(s) to log out via a means that you provide so that you can reset the Application variable...
ASP.NET has no reliable way of knowing if a user has navigated away from your site, or closed their browser etc...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
.
- Follow-Ups:
- Re: How to allow only ONE user on an ASPX web site? (C#)
- From: mark4asp
- Re: How to allow only ONE user on an ASPX web site? (C#)
- References:
- Prev by Date: Re: javascript in page load
- Next by Date: IIS appliction pool Recycling drops DLL-references
- Previous by thread: Re: How to allow only ONE user on an ASPX web site? (C#)
- Next by thread: Re: How to allow only ONE user on an ASPX web site? (C#)
- Index(es):
Relevant Pages
|