A
Adam
I am writing a web application for my intranet using ASP. (Hosted on Windows
2003 server, IIS)
The users have to login via a web form that is authenticated against a MS
SQL database. I then set a session variable that tracks the user throu the
system. By doing it this way, two or more people can be logged in using the
same username.
How can I prevent this? I need each user to only be able to login once.
Can I write to a filed in the database that states that they are loged in? I
could then have the logout button, in the app, clear that field. BUT, what
if they did no "Log Out"? How would I clear that field if they just close
the window?
Thanks,
Adam
2003 server, IIS)
The users have to login via a web form that is authenticated against a MS
SQL database. I then set a session variable that tracks the user throu the
system. By doing it this way, two or more people can be logged in using the
same username.
How can I prevent this? I need each user to only be able to login once.
Can I write to a filed in the database that states that they are loged in? I
could then have the logout button, in the app, clear that field. BUT, what
if they did no "Log Out"? How would I clear that field if they just close
the window?
Thanks,
Adam