How to check whether User is alreadylogged in or not

Hi..I want to check whether Particular User is already logged in or not ?? I had userid,password and status in my database.
If anybody shows me how to implement it ??
Reggards
Chintan

If you want to prevent multiple logins happening, use a profile on the database server that limits a login to a set number of simultaneous connections.
If you just ant to check which users are logged in, the v$session table will have that information.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • How to check whether user login in SNC mode or Non - SNC Mode

    Hi
    When SNC is enabled system will accept secure network connections. But,It is up to the user to login in SNC mode or NOT.
    Can any one let me know How to check whether user login in a SNC mode / Non-SNC mode?. Is it only through SU01?.
    Is there any other possibility?. where to check if user login through RFC connections?.
    Please correct me if i am wrong.
    Regards
    Srinivas P.

    Hi,
    Where to check if user login through RFC connections?
    Check T-Code SM04 on every instance. In the column Type you can see what kind of login has been used (GUI, RFC, Plugin, System).
    But,It is up to the user to login in SNC mode or NOT.
    Depends. Check these [parameters|http://help.sap.com/saphelp_nw04/helpdata/EN/19/164442c1a1c353e10000000a1550b0/content.htm]:
    snc/accept_insecure_cpic     
    snc/accept_insecure_gui      
    snc/accept_insecure_r3int_rfc
    snc/accept_insecure_rfc      
    Regards,
    Sven

  • How to check whether Output ES is working or not.

    I am able to see Output ES in the services list of the admin console of my server. Please let me know how to check whether this is working or not.
    Regards,
    Shabeer

    LiveCycle ES2 (and LiveCycle ES) ship with three undersold and unadvertised web applications that are VERY useful. Each is referred to as an Installation Verification Sample (or IVS) but they are great testing tools you can use during development and QA. There is
    1) Assembler IVS,
    2) Forms IVS, and
    3) Output IVS
    Output IVS looks like this...
    The pattern for deploying and using all three IVSs is very similar as what I am about to describe for Output IVS. The following directions apply to the JBoss turnkey on Windows.
    1) go to C:\Adobe\Adobe LiveCycle ES2\deploy and locate adobe-output-ivs-jboss.ear
    2) copy adobe-output-ivs-jboss.ear to C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\deploy
    3) if necessary, start LiveCycle
    4) open a browser and go to http://localhost:8080/OutputIVS/
    5) click Check/Change your preferences
    6) add Admin Credentials
    7) click Save
    8) click Test your form designs
    9) Select an .xdp from Form designs
    10) Click Use EJB (or Use Web Service if you feel so inclined) to invoke LiveCycle Output ES2
    Steve

  • How to check whether ESBAgentListener listener is started or not for ESBSys

    Hi,
    I am working on Oracle ESB 10g, I want to know how to check whether the ESBAgentListener listener is started or not for particular ESB system. I know we can verify the logs but I want to know is it possible from database or any other sources.
    Thanks in advance.
    Ramesh

    Hi Jogdand ,
    You can get the PO total value change form the PO business Object BUS2201 attribute  POTotalValueIncreased .
    Below code sample decribes how to get the BO attribute values
    1. INCLUDE <swfcntn01>.
    2. Create an instance of the BO by calling the macro and passing the three parameter.
        swf_create_object     <po bor object>     <BUS2201>     <po_guid>
    3. Get the PO attribute by calling macro
      swf_get_property   <po BOR object>   < 'POTotalValueIncreased' >    < lv_pototalvalueincreased>
    OR
    You can query the table BBP_PDHGP and get the original Value of the PO and call the FM BBP_PD_PO_GETDETAIL to get the new Value of the PO. Check the difference and if there is any difference then the PO value is changed.
    I hope this will be very useful.
    Regards,
    Surender

  • How to check whether 620 routine is configured or not?

    Hi,
    I hv VOFM>Formulas>Conditional value--> 620 routine, its used to determine the SHIPMENT COST DOCUMENT creation and its talks about consolidating all the shipemts together belongs to same customer and there by creating only one shipment (cartons/volume/weight) cost document. (Its developed and done activated)
    So, pls let me know that, How to check that whether this VOFM routine 620 is in place (configured) or not in the system?
    I tried from SPRO/IMG, but, no use!!
    Thank you

    This should be in SPRO. See the link at the bottom of this [sap library topic|http://help.sap.com/saphelp_erp60/helpdata/en/93/7440d3546011d1a7020000e829fd11/frameset.htm]

  • How to check whether a patch is applied or not when we apply a patch using patch.sh in oracle apps 11i

    Hi,
    If we apply patch using adpatch,we can know whether the patch is applied or not by checking ad_bugs,even with opatch we can check by using opatch lsinventory...
    But when we apply patch with patch.sh then how can we find out whether a patch is applied or not.
    I have to apply patch 14615390 and  16414360...but how can i know whether those patches are already applied or not. We have jre upgrade so we need to find out whether these patches or already applied or not.
    Thanks in advance,

    These are patches for Forms aren't they?
    I think this has been addressed before
    How to know if a patch has been applied to Forms?
    As the mighty Hussein points out in that post, refer to How to verify if a patch has been installed (Doc ID 105158.1)
    DA

  • How to check whether the Resultset is empty or not ??

    I wanna check whether my Result set is empty or not ( I don't want the no of rows it contains..) i'm using this function...
    boolean result=myResultSet.isAfterLast() | myResultSet.isBeforeFirst() ;
    if (result == true)
    {//Result Set is populated
    else
    {//ResultSet Blank
    Is it ok to do like this ?? Or is there any other functanality to do this, since in big appl..i'm using it more than 10-15 times & it's working fine evrywhere except for one jsp where it is returing TRUE everytime ...
    Help Appreciated !!

    try,
    rs = pstmt.executeQuery();
    boolean b = false;
    if( b = rs.next() ) {
    while( b ) {
    //... rs.getXXX( YYY );
    b = rs.next();
    else {
    //...empty rs processing
    or,
    ResultSet rs = ps.executeQuery();
    if(rs.next()) {
    do {
    System.out.println(rs.getString(1));
    } while(rs.next());
    } else {
    System.out.println('empty result set');
    but I usually avoid using do...while although this may be an exception.

  • How to check whether a vriable is declared or not?

    Hi,
    Problem:
    A glogal variable named :GLOBAL.ENV is used in one of my form.
    But its value is coming from another form which is developed by another programmer.
    I need to check like this:
    IF :GLOBAL.ENV='SOMETHING' THEN
    END IF;
    But, if the other developer doesn't assign a value for the global variable, i am getting an error like this:
    FRM-40815: Variable GLOBAL.ENV does not exists
    So, i need to know whether the GLOBAL.ENV already exists before using it in my form.
    That is, i need to do like this:
    IF (code to check whether GLOBAL.ENV exists ) then
    use GLOBAL.ENV
    ELSE
    Assign a default value to GLOBAL.ENV
    END IF;
    Thanks for your time...

    Thank you very much...
    I used DEFAULT_VALUE('def val','GLOBAL.ENV');
    Now the problem is solved.

  • How to check whether internet connection is avaliable or not from Swing

    Hii Javaties
    I am developing a application in Swing .
    I need to call a servlet from Swing.
    So how can i check tht internet connection is avaliable or not. ?

    i am also fatching this type of problem. my applet is playing a audio file from server. during the playing time if network connection failed then NoRouteToHostException occurs from some PCs. but there are some PCs it doesn't occur though the playing is stoped.
    all PCs OS windows XP and jre jdk1.5.0_06
    i can't find out the problem. can any one help me for this?
    code:
    URL testURL = null;
                                try {
                                    testURL = new URL(sourcePath);
                                    //inputStream = testURL.openStream();
                                    URLConnection connection = testURL.openConnection();
                                    connection.connect();
                                } catch(NoRouteToHostException e) {                
                                    System.out.println("NoRouteToHostException block: " + e.getMessage());
                                }thanks
    bashar

  • How to check whether database is in use or not

    hi,
    i have written a program for taking backup of database file(ACCESS).
    i can able to zip it successfully, but i have to check before zipping that
    whether it is opened or closed(using by any other).
    How can i do it.I am not getting idea. please do help
    Thanking you in advance
    regards
    shashi

    I don't know if this is possible. Since you have access to the file system and know the Access MDB location, look to see if the Access lock file exists. It's usually in the same location as the MDB and has the same name with an LDB extension

  • How to check whether a link is clicked or not in jsp????

    hi
    please help me in checking out whether a link in a html page is clicked or not....
    actually iam having a jsp page which has 3 links
    link1
    link2
    link3
    if i click the link1...the sublinks(for example link 1.1 link 1,2) of link1 should appear...can anyone of u please tell me how to do this in jsp........

    try to use java script

  • [req] how to check whether given oracle table exist or not + C#

    Hi,
    All.
    Actually i m creating a program using C# which connects to the database (oracle) and checks for the given table "OPC_GROUP". if the table doesnt exists then it creates the table else it updates all field with provided values
    code
    cmd.CommandText = "SELECT tname from tab where tname = 'OPC_GROUP'";
    cmd.CommandType = CommandType.Text;
    int length = cmd.ExecuteNonQuery();
    if (cmd.ExecuteNonQuery() >0)
    MessageBox.Show("Table does exist");
    else
    MessageBox.Show("Table doesnt exist");
    But this code return "TABLE DOESNT EXIST" though table is already created
    What i m doing wrong???
    Please help..........
    Thnx in advance

    Try this..
    cmd.CommandText = "SELECT count(*) from tab where tname = 'OPC_GROUP'";
    cmd.CommandType = CommandType.Text;
    string strnum = cmd.ExecuteScalar().ToString();
    if (strnum!="0")
    MessageBox.Show("Table does exist");
    else
    MessageBox.Show("Table doesnt exist");
    Hope it helps,
    Greg

  • How to Check whether a table is indexed or not?

    Hi all,
    I am writing a c++ program where i have to create an Index if Index not exists.
    Oracle 10.2 is the oracle version and i am using oracle text for indexing.
    table -- create table xmltable (versionnumber number,instance xmltype);
    index -- create index configindex on xmltable (instance) indextype is ctxsys.context;
    drop -- drop index configindex force;
    My algorithm should something like,
    if(configindex is exists)---------->What i have to write here to check if index is present.
    { drop index  configindex force; }
    create index configindex on xmltable (instance) indextype is ctxsys.context;
    Thanks......

    Hi,
    You could check the system view ALL_INDEXES .
    HTH,
    Chris

  • How to check whether a date is null or not in java ?

    Plz do help me.

    I was trying like this
    Date sdate = null;
    if(sdate.equals(null))
    So i got null pointer Exception.. Now i found out to b checked like this if(sdate == null)
    tx.
    And my another question is there any way to get yesterday date from today's date which is given as input. I mean is there any short method ?

  • How to check whether the Application Server directory exits or not

    Hi,
    I have a selection screen in which I give the Application server file name(UNIX file) as input. Here, I would like to check whether the Server directory exists or not.
    Let us say, the path I gave in the selection screen is /usr/sap/tmp/testfile.txt . Here, the file name is testfile.txt and the server directory is /usr/sap/tmp . I would like to check whether this directory /usr/sap/tmp exists in the server or not. I am not bothered about the file name as I am going to write data into the file. I am mainly concerned about whether the directory exists in the server or not. and one more thing... this is the Application Server path not the Local path.
    Can anyone help me on the same how to check whether the server directory exists or not.
    Thanks in advance.
    Best Regards,
    Pradeep.

    Also you can use the FM EPS_GET_DIRECTORY_LISTING for this purpose.
      Store the directory name
        l_dpath = p_file+0(l_no).
      Validate the directory of the application server
        CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
          EXPORTING
            dir_name               = l_dpath
          TABLES
            dir_list               = l_i_dlist
          EXCEPTIONS
            invalid_eps_subdir     = 1
            sapgparam_failed       = 2
            build_directory_failed = 3
            no_authorization       = 4
            read_directory_failed  = 5
            too_many_read_errors   = 6
            empty_directory_list   = 7
            OTHERS                 = 8.
      If any problem occurs with the directory then display proper
      error message
        IF sy-subrc <> 0.
        Display error message
          MESSAGE e018 WITH 'Problem with directory entered'(008).
        ENDIF. " sy-subrc <> 0
    Regards,
    Joy.

Maybe you are looking for

  • I downloaded photoshops 30 day trial but every time i open it it just says adobe photoshop cc 2014 has stopped working

    but it only gives me a option to close the program if you could help me to get this working that would be very helpful.

  • Displaying multiple midi regions in piano roll

    I have overdubbed some midi tracks and would like to view and edit them in one window of the piano roll. The manual says "Ensure that View > Show Selected Regions Only is switched off." Well for the life of me, I cannot find any option in either view

  • Po reqapprove workflow got errored

    Hi, In the po requisition approval process BUILD_APPROVAL_LIST_PROCESS in this process BUILD_DEFAULT_APPROVAL_LIST acticity got erroed with execption .i want to know the erroe message and erroe code , in which workflow tables shows total erroemessage

  • Adobe Reader X will not work.

    I have downloaded and installed Adobe Reader X (10.1.4) to my new HP computer, running Windows 7 (64), several times.  Each time it appears to have successfullly downloaded and installed.  However, when I try to use it I get "Adobe Reader has stopped

  • AE CC Freezes when using Layers panel

    Hello all,      I'm having an issue with the Layers panel, which is docked to my Comp panel, freezing my system whenever I try to click into any other panel. I can open a project, click on a layer to do some painting and then if I try to go back to t