Well I work in the Financial Services industry and I've never heard of a
requirement like that - generally we trust our users.

If you want such a restrictive policy, then the best way to implement this
is as I mentioned earlier

1) When user logs in, set a flag in your DB
2) When
a) The user navigates away from the site (its up to you to determine this)
b) The user logs out
c) The users session times out
You need to set the flag to 0

There really isn't another suitable way to to this - you need to centrally
store the fact that a particular user has logged on, and the best place for
this is a DB. Due to the stateless nature of web apps, you can never tell
*exactly* when a user finishes using your site, so the solutions are all
workarounds. However, if you are implementing such a restrictive policy, I
would suggest that implementing another policy of "click log out when you
finish using the site" would solve most of your problems re: determining
when a user stops using a site.

On Tue, Sep 28, 2010 at 5:07 AM, VB <[email protected]> wrote:

> Well its not the university assignment...:)
> Its the application for Banking Domain, in which user can logged-in
> only on one machine ...not more than one machine., So nobody can share
> thier user-id or password and work on one machine at a time....its
> very strange that some of you ppl didn't hear about this... :(
> anyway ...keep posting
>
> On Sep 27, 6:41 pm, Stephen Russell <[email protected]> wrote:
> > On Mon, Sep 27, 2010 at 1:31 AM, VB <[email protected]> wrote:
> > > Hi,
> > > I want to restrict user to logged-in on one system at a time...means
> > > if user logged-in a system then same user will not allow to logged-in
> > > on another system until logoff from first system...
> > > I want to know the concept...what should i do ?
> > > Im using ASP.NET 3.5 with C#
> >
> > ------------
> >
> > Others think this is a poor and difficult system in the end.  I will
> > add my vote to theirs
> >
> > Or why harass a quality user if they are attempting to assist a pathetic
> user?
> >
> > If this is a university exercise tell the instructor these statements.
> >  The web is stateless so how do I know that they have closed a browser
> > or run our of memory?
> >
> > --
> > Stephen Russell
> >
> > Sr. Production Systems Programmer
> > CIMSgts
> >
> > 901.246-0159 cell
>

Reply via email to