Re: How to allow only ONE user on an ASPX web site? (C#)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"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

.



Relevant Pages

  • Re: How to allow only ONE user on an ASPX web site? (C#)
    ... lock out the second user? ... ASP.NET has no reliable way of knowing if a user has navigated away from ... or closed their browser etc... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Trouble with IE6 home page
    ... browser hijacking ... These and other third-party programs can lock the IE homepage. ... Norton AV 2006 (Web Browsing> Spyware protection) ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Address Bar Problems in IE6
    ... Hanging application IEXPLORE.EXE, version 6.0.2800.1106, hang module ... > browser will lock up. ... > MB total) and installing Micro Trend's anti virus ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Call Wait Loop?
    ... - does the first request return any status information? ... Can anyone show a clever combo of setTimeout or equivalent so I can ... lock up the browser while I'm waiting/looping... ...
    (microsoft.public.scripting.jscript)
  • Re: crl.verisign.com is ok?
    ... Is your site visiting a SSL enabled site - i.e. do you see a lock ... image at the bottom bar of your browser. ... (assuming Verisign is the certification authority - check by double ...
    (alt.computer.security)