Re: user should not logged in more than one using diffferent machins o



Added to that, you can always check the current session id is present in the database against the user who is trying to login, if it is not there you can allow him to logon otherwise, the user is logged in regardless of same machine or different machine.

Thanks,
--
Vadivel Kumar
http://www.vadivelk.net
vadi@xxxxxxxxxxxxxxxxxxx (remove "online.")

Augustin Prasanna wrote:
Hi,

you can handle this using session_end handler (global.asax).

check out this article: http://www.eggheadcafe.com/articles/20030418.asp

Regards,
Augustin
http://augustinprasanna.blogspot.com

"_thedebugger" wrote:

Dear friends,
I am developing one shopping cart application. My requirement is if user logged in one machine, he should not logged into from another db.

how should I do that. I am using sql server 2000 to store user database.

Problem is if user clsoes the browser then how can I check and clear the session?

wiating for your reply

Regards
Sachin krogaonkar





.



Relevant Pages

  • Re: PDO: Switch database user without reopening connection
    ... At the bare minimum there will be a login user who only has ... modifications to the database as well (editors get update permission, ... As database connections are expensive to ... a certain visitor in the Session, and use that value to start the right ...
    (comp.lang.php)
  • Re: PDO: Switch database user without reopening connection
    ... At the bare minimum there will be a login user who only has ... the postgres user they are logged in as to one that can make ... modifications to the database as well (editors get update permission, ... a certain visitor in the Session, and use that value to start the right ...
    (comp.lang.php)
  • Re: PDO: Switch database user without reopening connection
    ... At the bare minimum there will be a login user who only has ... modifications to the database as well (editors get update permission, ... open PDO and create a new one, in other words disconnect from the ... a certain visitor in the Session, and use that value to start the right ...
    (comp.lang.php)
  • Re: ASP.Net [2.0] - SessionID
    ... Have you tried using the built-in profiles system to perform queries on thousands of users without retrieving every user? ... It's not exactly rocket science, a session is created, its ID and user ID are written to the database, each page that requires authentication checks to see if there is a current identity and if so then tries to match that to the one in the database - if everythings ok - great - more on - if not - redirect to the login page. ...
    (microsoft.public.dotnet.framework.aspnet)
  • sessions being killed by sa updating stats?
    ... We're seeing something very strange on our SQL Server 2005 9.0.2047 DB ... Most open connections to the database are being spontaneously ... SQL Server is terminating this session. ...
    (comp.databases.ms-sqlserver)