ALTER PROFILE p1 LIMIT SESSIONS_PER_USER 1;assign p1 to that user: ALTER USER scott 
    PROFILE p1

解决方案 »

  1.   

    我可能没有表达清楚
    就像adsl帐号一样,一次只能一个用户使用
    这是怎样实现的,而且我们一旦断网(包含异常断网)
    服务器是怎么知道的呢?
      

  2.   

    ALTER PROFILE p1 LIMIT SESSIONS_PER_USER 1;assign p1 to that user: ALTER USER scott 
        PROFILE p1this is the only way: ofcourse 一次只能一个用户使用.
    the second user can not get connected . oracle has a session concept , the session is kept openning  between client and server .