How to count user online?

I develop some project by cfm and I have problem with module
"count user online" I can count user online when user run by IE
because I can know when user close browser but I can not do this on
Fiefox. Please! help me!

if you're using CFMX7, there's a nifty writeup on
application.cfc in the current Fusion Authority mag that would give
you a quick easy way to do it..
http://www.fusionauthority.com/quarterly/
Cheers

Similar Messages

  • How to count number of online user

    i am developing bid application using servlet/jsp. how to count number of online user ple help me.

    hi,
    may be the following code help you...
    import javax.servlet.http.HttpSessionListener;
    import javax.servlet.http.HttpSessionEvent;
    public class ActiveUserCount implements HttpSessionListener {
         private static int activeUsers = 0;
         public void sessionCreated(HttpSessionEvent se) {
              activeUsers++;
         public void sessionDestroyed(HttpSessionEvent se) {
              if(activeUsers > 0)
                   activeUsers--;
         public static int getActiveUsers() {
              return activeUsers;
    }Dhaval

  • How to track current online users in OID?

    Hello,
    Is there any way to track the number of current online users in OID?(or 10Gas) therefore, I could find out who is online and how many people are online. Does OID provide the feature? Or, I have to write a Java class to record it when a user logon? what if the user doesn't logout and the seesion is timeout?
    Thanks for your help

    PL/SQL code to get number connected users since the beginning of the day :
    DECLARE
    cpt_user integer := 1;
    BEGIN
    select count(distinct(user_name)) into cpt_user from PORTAL.WWCTX_SSO_SESSION$
    WHERE (USER_NAME <> 'PUBLIC')
    AND to_char(PORTAL.WWCTX_SSO_SESSION$.LOGIN_TIME,'dd/mm/yyyy') = to_char(sysdate,'dd/mm/yyyy')
    AND IP_ADDRESS IS NOT NULL;
    htp.p(' <font color="#006699" size="1" style="font-family:Arial, Helvetica, sans-serif" > ' ||cpt_user|| ' connections</font> ') ;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    htp.print('No connection !');
    END;

  • How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?

    How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?
    any idea?

    Hi,
    From your description, my understanding is that you want to get user profile properties in provider-hosted app in SharePoint online using REST API.
    Here is sample code for getting user profile properties:
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    Here is a blog below about accessing data from the provider-host apps:
    http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to chat with online users related to java

    hi everyone,
    how to chat with online users.plz tell me.

    warnerja wrote:
    audibert112 wrote:
    Does anyone know a good Java chat room?
    SPAM SPAM SPAMWhat is this, national SPAM day?No, [that's in July|http://en.wikipedia.org/wiki/Spam_Jam].

  • How to get user count by Planning app in 11.1.2.1

    I have no. of planning apps and I need to get a user count by application.
    I tried to export the security by using LCM but the export doesn't provide the information in a readable format.
    Is there a way to generate a report where I can get the count (user ids) by planning app ?
    Thanks in advance

    Could you not get somebody to run the queries for you they quick and simple
    anyway if you have to go down the filter per user route then maybe you could use maxl and spool the output.
    e.g.
    login admin password on servername;
    spool on to "path\filename.txt";
    display filter on database appname.dbname;
    spool off;
    logout;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to count client Oracle License

    Dear All,
    In our company have license as below, but I don't know how to count license
    1. Oracle Database Standard Edition-Processor Perpetual 2
    2. Oracle Database Standard Edition-Named User Plus Perpetual 100
    Just in my opition,
    NO.1 for CPU on Server ??
    NO.2 have 2 choice
    1. Count by PC client connecting in same time have a limit 100 user can login ?? if over 100 client system will be disconnect by automatically ??
    OR
    2. We can intsall oracle client software in 100 PC only ??
    and also I using MS.Excel to get data form Oracle server need to buy Oracle client license ??
    Could you please explain for me.
    Regards.
    Edited by: 959974 on Sep 18, 2012 9:08 PM

    user11181920 wrote:
    I agree with you. Mostly.
    But most of you said is related to a price negotiation not a policy.
    Of course price has to be discussed or negotiated with Sales Rep.
    Of course an agreement that costs dozens of thousands should go via Legal department.
    Of course no-one should refer to an advise taken from here as to a last instance of Truth or a Constitutional Law.
    It is all obvious.What may be obvious to you may not be to others.
    >
    But someone who does not know even basic licensing policies should read docs and get understanding of them before negotiating with Sales Rep.Yes, the faq too: http://www.orafaq.com/wiki/Oracle_licensing
    Though it may have some out of date parts.
    It will make this person better prepared for a negotiation, and also will make work of Sales Rep simpler - he/she does not have to explain those basic things to a customer.Sometimes they insist on explaining these things, even when they do not understand it themselves.
    It will also increase level of trust. Clear understanding helps to create trust.One would hope. On the other hand, when they say I'll have to get back to you on that and then don't, does that help? All I can figure is some magic words, like Itanium, have magical properties. Maybe it breaks their price calculator app.
    >
    Here we can help. We can give some recommendations what docs to read and help to get some understanding of things.
    Of course we are not officially authorized for legal advices, I think everyone understands it. Who don't - I am sorry.Many people are unclear that this is a volunteer forum, not official Oracle policy, even though there is that red logo on the upper left of the screen. Yet Oracle still has to worry about liability issues for anything posted.
    >
    Almost everything in the licensing policies is open to negotiation which, obviously, can only happen with Oracle Sales.Or vote with your feet.
    Here I doubt that Sales Rep can change a policy. Can Sales Rep change Processor Core Factor? Or its definition? Or a definition of Named User Plus? Like declaring that for this particular customer we make it "Two Humans = One Named User Plus"? Like the used car salesman I'll have to check that with my sales manager.
    Can Sales Rep change export/import rules?Rule #1: don't get caught. google FPCA with the name of your favorite company.
    I doubt. Sales Rep has a vendor recommended price and limit for discount that he/she is authorized for. Also Sales Rep is trained for policies and how to apply these in different scenarios, but Sales Rep is not a policy makerOracle sales reps had their quotas boosted this year to impossible levels, which effectively gave many huge pay cuts.
    And earlier:
    I would disagree here. Why do you try to present Oracle's licensing policies overly complex that only sales rep can understand it?That is giving way too much credit to sales rep. The policies refer back and forth to different documents, which may change with the wind. It is overly complex.
    Oracle does not make a secret from its licensing policy.How would you know? If everyone gets a special deal, there could be secrets all over the place. This is business, not consumer products. Always keep a local copy of policies found online.
    It is quite clear, documented and published.Documented and published, yes. Clear? There are companies whose entire business plan depends on the lack of clarity and capriciousness, dealing with Oracle is an art, not science. Any published document may be changed at any time, George Orwell would be impressed.
    Everyone before buying or signing a contract should be prepared to a discussion with sales rep - read the docs and get understanding.As much as you can, yes. But never forget, this is an asymmetrical negotiation. As powerful as you may be in your company, you are a benign microbe to Oracle.

  • How to use user-defined packages in JAX-RPC web service

    I am trying to use Object of my class located in my package in jax-rpc webservice,the code is
    package supercomputer;
    import Hello.*;
    public class SuperImpl implements SuperIF
    public String sendParam(String data)
    Temp ob=new Temp();
    int i=ob.get1(10000);
    return data+"returned by supercomputer";
    Temp is located in Hello package,I have jar the Hello package as Hello.jar and has set its classpath in targets.xml of Ant tool.
    The code compiles well and service is deployed successfully,but when i try to call the service from the client its gives me following error.
    [echo] Running the supercomputer.SuperClient program....
    [java] java.rmi.ServerException: Missing port information
    [java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:357)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
    [java] at supercomputer.SuperIF_Stub.sendParam(SuperIF_Stub.java:60)
    [java] at supercomputer.SuperClient.main(Unknown Source)
    I dont know if it deploys why it gives error on client side.
    Please tell how to use user-defined packages and class in jax-rpc service code ,i am not talking about passing user-defined parameters i am just talking about making objects of user defined classes in jax-rpc service.I think there is some problem in classpath.
    Please guide me in doing that.
    Thanks,
    Farrukh

    Farrukh,
    I don't know if your error is about a missing class from your custom package, ... what track did you followed to say that?
    To use your package in the implementation of you web service, you should only follow the rules of making a web application: put your package jar in your \lib directory inside WEB-INF/ or your package classes unjared in classes (also in WEB-INF/).
    As I already said, I have doubts that your error should be originated from a missing class from your package, but:
    -try to see the logs (errors?) when you deploy your web service that could give a hint about the problem.
    -try to see if you can access your endpoint through your browser to see if there is a online status
    -display your config/WSDL file, and the steps you did to build your web service.
    regards,
    Pedro Salazar.

  • How to go about Online auditing of PM endusers with their daily transaction

    Dear friends,
    How to go about Online auditing of PM endusers with their daily transactions like Maintenence orders,Maint plans
    measuring documents.can you give provide me navigation for this
    your response is highly appriciated.
    Regards,
    Sunil

    Hi Sunil,
                  We do a similar kind of Tracking on Month-to-month basis, actually the repost is given by the Security person, which is for all the users, and then as per the User Group for all the plants we can check as which T-Code is used by which person How many no of times, by converting the same report in the Pivit Table and Chart, the IT department take the Decission as from which all user , which T-Codes needs to be removed, and if the New T-Code is assigned then the requirement comes from Business.
    I guess a Similar Report can be used by you also to check out as of which all users are using which T-Codes and that can serve your Purpose and check out for the Descipline in the users, but how can you judge on the day-to-day basis, I guess it will be helpfull if you can take a longet Period of time like monthly or atleaset Weekly.
    Hope it helps you.
    Regards,
    Yawar Khan

  • How to publish iWeb online but not through iCloud but someone else?

    How to publish iWeb online but not through iCloud but someone else?
    Mybe Google or woodpress, 
    Or publish iWeb online with iCloud WITHOUT upgrading Lion?

    iWeb will still be around but as Jeff pointed out if you want a blog with visitors comments you should consider converting your iWeb blog to  WordPress.  Rage Software has created an applicaiton that will convert your current iWeb blog w/visitor comments to a Wordpress blog. You can get the application here: Convert Your iWeb Blog to a WordPress Blog.
    If you don't have visitor comments then the iWeb blog will continue to work for you on a 3rd party FTP server.
    If you have photo pages in your website with the accompanying slideshow you'll need to read the following:
    It's now confirmed that iWeb and iDVD have been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
    On June 30, 2012 MobileMe will be shutdown. HOWEVER, iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ MobileMe Gallery
    All of these features can be replaced with 3rd party options.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    In addition the iLife suite of applications offered on disc is now a discontinued product and the remaining supported iApps will only be available thru the App Store from now on.
    HOWEVER, the iLife 11 boxed version that is still currently available at the online Apple Store (Store button at the top of the page) and those copies still on the shelves of retailers will include iWeb and iDVD.
    OT

  • How to find out how many concurrent users using web application?

    Hi all,
    I have a web application deployed using 9iAS. I am trying to find out how to find out how many concurrent users are using this application at any one time. According to Oracle there is no way to see this information using the enterprise manager interface.
    Does anybody out there know how I can find out this information in real time? Failing that, are there any good analysis tools out there that display usage to the minute (all the tools I have found show usage by hour which is not sufficent for my needs).
    Any help would be much appreciated,
    Caroline

    I know I haven't heard of any software to do this, but this also sounds like a really hard problem to try and really analyze well.
    The trick is, you might "infer" how long a user is using an application based on when cookies are set and when they're set to expire. If that's a long time, though, that could count far more "concurrent" users than are actually there. A user could simply close the application at any time and stop using the application; you can't really detect that because the server isn't "told" when the user closes their browser or goes somewhere else.
    A good perl script might be able to read the Apache access log and tell you how many unique IPs asked for a given directory in which various applications are stored in any 5 minute span of time... that could be something like an indicator of "concurrent" users.
    If you don't know Perl, I'd suggest getting the O'Reilly & Associates book on Perl and learning it, because the more I think about this, the more this sounds like a textbook example for applying a Perl script.

  • How to add users from person or group field in a sharepoint list to sharepoint group

    Hi,
    How to add users(single or multiple) from person or group field in a sharepoint list to sharepoint group programmatically?
    Any suggestions would be appreciated.
    Thank you,
    AA.

    Hello,
    Use SPGroup.AddUser() method to add user in group. I have just written sample code in notepad so it is not tested:
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using(SPSite Site = new SPSite(SPContext.Current.Site.Url))
    Using(SPWeb Web = Site.OpenWeb())
    SPList list = web.Lists["ListName"];
    SPQuery query=new SPQuery ();
    query.Query = "<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>Test</Value></Eq></Where>";
    SPListItemCollection items = list.GetItems(query);
    if(items.Count > 0)
    foreach(SPListItem item in items)
    //Get USers from person or group column
    SPFieldUser userField = (SPFieldUser)item.Fields.GetField("Users");
    SPFieldUserValueCollection userFieldValueCollection = (SPFieldUserValueCollection)userField.GetFieldValue(item["Users"].ToString());
    SPGroup spGroup = spSite.RootWeb.Groups[groupName];//group name
    if (users.Count != 0)
    bool isUserInGroup = false;
    foreach (SPFieldUserValue user in users)
    foreach (SPUser item in spGroup.Users)
    string itemUserName = item.LoginName;
    string UserName = user.User.LoginName;
    if (itemUserName == UserName)
    isUserInGroup = true;
    break;
    if (!isUserInGroup)
    spGroup.AddUser(user.User);
    The above code will query list item and then get users from "Users" column. Now it will check whetehr user is already in group not, if not then add user in group.
    http://rajanijilla.blogspot.sg/2012/09/add-users-to-group-programmatically.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to give user authorizations for a Program or an ICF service

    Hi,
       1)How to give user authorizations for a report program or an ICF service.
       2)How to create an user authorization object.
    Regards,
    Vinay.

    check this online help for more info on authorization object creation
    http://help.sap.com/saphelp_nw04/helpdata/en/52/67168c439b11d1896f0000e8322d00/frameset.htm
    for question no1.
    ICF - you either maintain the auth obj relevant at the icf service level itself or you can code call authority object and block access
    for abap programs:
    you maintain auth object at the tcode or code the call authority object within the program
    Regards
    Raja

  • How to create user using ESSCMD

    <p>hi</p><p>i am wondering</p><ul><li>How to add users ESSCMD</li><li>how can i provide users with external authentication</li></ul><p>thanks for your time.</p><p> </p>

    I would suggest using MaxL, not Esscmd. Here is a sample from the online help.<BR>With MaxL, you can pass in parameters using 1 script instead of creating multiple Esscmd scripts.<BR><BR>create or replace user Fred type external with protocol 'LDAP' identified by 'cn=Engineers, ou=Groups, dc=yahoo, dc=com';<BR><BR>Creates a user called Fred who is externally authenticated with the LDAP protocol.<BR>

  • Easy Question: How to identify user roles within form?

    Hi folks,
    I would like to display/hide button which calls static data maintenance form (from other form) based on current user roles.
    If user has role "STATIC_DATA" granted then DISPLAY button (which calls static data form), else DO NOT DISPLAY it.
    Any example, how to get user roles within form?
    Thanks,
    Tomas

    I can do it with below code:
    declare
      l_cnt number;
    begin
      select count(*)
         into l_cnt
         from user_role_privs
      where granted_role = 'STATIC_DATA';
      if l_cnt > 0 then
            -- display it
      else
         -- do not display
      end if;
    end;I think, above should work.
    Thanks,
    Tomas

Maybe you are looking for

  • Error when opening a VO xml file

    I am starting to look at using the framework extension capability for some changes to the Oracle Sourcing module. I have used an enhanced version of Luke's script to generate my server.xml files. I have successfully loaded these into my project in Jd

  • How to export multiple photos in LR 5 inside of a custom frame?

    Hello, I photographed a photo booth for a dinner. I made a PNG frame and I want to export every photo inside of this frame that I made. (see below) How would I do this? I thought about making a script in Photoshop and exporting each individual photo

  • Whatsapp crashing after app update

    Hi, After I updated the newest version Whatsapp 2.11.12 (I think it is) yesterday on my iPhone 5, the app keep crashing down every time I try to open the app. I get a notification that I have received messages but it won't let me open it. Yesterday b

  • Wwv_flow_item.popupkey_from_query in combination  SQL updateable report

    Hi, I found out that wwv_flow_item.popupkey_from_query in combination 'SQL updateable report' does not work. It does not display the popup. It creates a extra column with the message below. In combination with 'SQL query' it works. Is it possible to

  • How to exclude the selction in BW When importing Transaction data from Info provider

    Hi ,   I  am trying to Import data from BW infoprovider to BPC cube through Data manager . It works ok if i select Year 2010-2014,value type. But i have G/L account i want to import from 100000 to 100129 exclude 100130 again include 100131 to 999999