Messanger: User log-in notification.

Hi guys.
I am trying to find the best solution for the following requirement:
In the Messanger application, every user has a tree of added friends to chat with. When user loged in, and the tree of friends has been loaded,  every frend name which is online, in the tree (tree node) colored with the green color.
Later on, one more user from the tree loged in. The color of newly logged in user should be changed to green.
What is the best way to notify the three to change a color of newly loged in user?
I realy don't want to monitor the database every 5 or 10 or etc. seconds sending ajax or http requests. Does FLEX have some tools to do that?
Thanks.

Hi,
If you're developping a messenger application, I think you already have a kind of server to client communication...
How your client is receiving messages from others? You could use the same to transmit "service" data telling who is online or not...
One of our application is a kind of a collaborative tool (exchange drawings and chat messages), we developped it based on the blazeDS/AMF Consumer architecture. We've build above our protocol, which transmit "service" (who's online, what is the current space share, and so on...) along with the "client" data (the messages, the files, and so on). The protocol ensure also that a message was well transmited (ACK mechanism).
Hope it helps,
Mich

Similar Messages

  • Notification when vpn user logs in or out

    Is there any way to set up ASA config so when a specific user logs in or out via client vpn that an email is sent?

    You can distinguish the syslog message generated upon VPN authentication and send that message alone via email.
    You can't, on the ASA itself, distinguish that message for a particular user and send only that user's login notification (AFAIK). You could probably send all login events to a syslog server and then use it (with scripts) to send onward the specifics user's events.

  • How many Users Logged in ?

    Hi,
    I have a peculier requirement. I need to know, how many users logged in, when the system crashed. This is needed before restoring the system. Is there anyway from Unix level, this info can be captured?
    This we need for deciding, if system crashed notification to be sent or whom to send.
    Thanks,
    Raj

    Hi,
    Why do you need the users? You just restore and then put a message in SM02 when ever the users logins message will be shown.
    Regards,
    Vamshi.

  • Unable to capture trace, when user logs in throuigh Web Interface

    The Trace shows 'No Records Found', when user logs in through Web Interface of CRM. But there is Trace found, when the same user logs in through logon pad and carries out normal actvities.
    sufficient auth. is provided.
    Is there any setting in ST01, through which i can get trace , when user logs in through Web Interface
    Regards

    ST10 traces 1 instance only.
    Your CRM web interface could use another instance than your backend. Go to transaction SM21, choose the appropriate server and run ST10 again.
    Succes!
    Kind regards,
    Lodewijk Borsboom

  • How to show all user logged in/loggout in Report

    How to display All User Logged in time & Logout Time?
    Hi..
    I want to display All user in Portlet a report that show us all user that logged in the portal,
    their username,
    their time logged in,
    their time logged out..
    where can i find these information?
    do Portal have already something like this?
    Plz advise..Thanks.

    Thanks Sharmila for answering my question..
    Similar question i want to ask..
    I look at the table, and view it's data...
    Mmm..some i don't recognize...
    Actually, i just want to grep
    1)The UserId of the user who logged in the portal
    2)The time he logged in the portal
    3)the time he log out the portal
    That's all..
    How can i do that?..
    I plan to create one table to store the data, and plan to grab the data by jsp....
    What are the table/function/api that can i use and how?
    Plz advise.
    Thanks

  • Job SM:SYNCHRONIZE USER DATA FOR NOTIFICATION canceled

    Dear SAP Guru,
    The BG job SM:SYNCHRONIZE USER DATA FOR NOTIFICATION is canceled every day and it´s
    generating shortdump. Our system is SAP EHP1 for SAP Solution manager.
    SAP ABA and SAP BASIS components are release 701 level 3.
    ST is release 400 level 19
    ST-PI is release 2008_1_700 level 1
    ST-A/PI is release 01L_CRM570
    Pls look on this shortdump.
    Runtime Errors         RAISE_EXCEPTION*
    Date and Time          22.03.2010 06:50:11
    |Short text                                                                                |
    |    Exception condition "CUSTOMIZING_NOT_FOUND" raised.                                           |
    |What happened?                                                                                |
    |    The current ABAP/4 program encountered an unexpected                                          |
    |    situation.                                                                                |
    |What can you do?                                                                                |
    |    Note down which actions and inputs caused the error.                                          |
    |                                                                                |
    |                                                                                |
    |    To process the problem further, contact you SAP system                                        |
    |    administrator.                                                                                |
    |                                                                                |
    |    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |
    |    at and manage termination messages, and you can also                                          |
    |    keep them for a long time.                                                                    |
    |Error analysis                                                                                |
    |    A RAISE statement in the program "SAPLDSWP_UTILITY" raised the exception                      |
    |    condition "CUSTOMIZING_NOT_FOUND".                                                            |
    |    Since the exception was not intercepted by a superior                                         |
    |    program, processing was terminated.                                                           |
    |                                                                                |
    |    Short description of exception condition:                                                     |
    |                                                                                |
    |                                                                                |
    |    For detailed documentation of the exception condition, use                                    |
    |    Transaction SE37 (Function Library). You can take the called                                  |
    |    function module from the display of active calls.                                             |
    |    -                                                                                |
    |How to correct the error                                                                          |
    |                                                                                |
    |    If the error occures in a non-modified SAP program, you may be able to                        |
    |    find an interim solution in an SAP Note.                                                      |
    |    If you have access to SAP Notes, carry out a search with the following                        |
    |    keywords:                                                                                |
    |                                                                                |
    |    "RAISE_EXCEPTION" " "                                                                         |
    |    "SAPLDSWP_UTILITY" or "LDSWP_UTILITYU19"                                                      |
    |    "DSWP_GET_GLOBAL_CUSTOMIZING"                                                                 |
    |                                                                                |
    |    or                                                                                |
    |                                                                                |
    |    "SAPLDSWP_UTILITY" "CUSTOMIZING_NOT_FOUND"                                                    |
    |                                                                                |
    |    or                                                                                |
    |                                                                                |
    |    "RDSWP_NM_SYNC_USER_DATA " "CUSTOMIZING_NOT_FOUND"                                            |
    |    If you cannot solve the problem yourself and want to send an error                            |
    |    notification to SAP, include the following information:                                       |
    |                                                                                |
    *|   
    |System environment                                                                                |
    |    SAP-Release 701                                                                               |
    |                                                                                |
    |    Application server... "crsgrant"                                                              |
    |    Network address...... "10.128.32.175"                                                         |
    |    Operating system..... "Windows NT"                                                            |
    |    Release.............. "5.2"                                                                   |
    |    Hardware type........ "2x Intel 801686"                                                       |
    |    Character length.... 8 Bits                                                                   |
    |    Pointer length....... 32 Bits                                                                 |
    |    Work process number.. 13                                                                      |
    |    Shortdump setting.... "full"                                                                  |
    |                                                                                |
    |    Database server... "CRSGRANT"                                                                 |
    |    Database type..... "ORACLE"                                                                   |
    |    Database name..... "SM1"                                                                      |
    |    Database user ID.. "SAPSM1"                                                                   |
    |                                                                                |
    |    Terminal.......... " "                                                                        |
    |                                                                                |
    |    Char.set.... "Czech_Czech.28592"                                                              |
    |                                                                                |
    |    SAP kernel....... 701                                                                         |
    |    created (date)... "Apr 12 2009 22:43:15"                                                      |
    |    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"                              |
    |    Database version. "OCI_10201_SHARE (10.2.0.4.0) "                                             |
    |                                                                                |
    |    Patch level. 39                                                                               |
    |    Patch text.. " "                                                                              |
    |                                                                                |
    |    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."                |
    |    SAP database version. 701                                                                     |
    |    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows                |
    |     NT 6.0"                                                                                |
    |                                                                                |
    |    Memory consumption                                                                            |
    |    Roll.... 8112                                                                                |
    |    EM...... 4181184                                                                              |
    |    Heap.... 0                                                                                |
    |    Page.... 24576                                                                                |
    |    MM Used. 873664                                                                               |
    |    MM Free. 170296                                                                               |
    |User and Transaction                                                                              |
    |                                                                                |
    |    Client.............. 001                                                                      |
    |    User................ "SOLMAN"                                                                 |
    |    Language key........ "E"                                                                      |
    |    Transaction......... " "                                                                      |
    |    Transactions ID..... "C27635DF574FF121B0470050569757E9"                                       |
    |                                                                                |
    |    Program............. "SAPLDSWP_UTILITY"                                                       |
    |    Screen.............. "SAPMSSY0 1000"                                                          |
    |    Screen line......... 6                                                                        |
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "SAPLDSWP_UTILITY" - in                              |
    |     "DSWP_GET_GLOBAL_CUSTOMIZING".                                                               |
    |    The main program was "RDSWP_NM_SYNC_USER_DATA ".                                              |
    |                                                                                |
    |    In the source code you have the termination point in line 22                                  |
    |    of the (Include) program "LDSWP_UTILITYU19".                                                  |
    |    The program "SAPLDSWP_UTILITY" was started as a background job.                               |
    |    Job Name....... "SM:SYNCHRONIZE USER DATA FOR NOT"                                            |
    |    Job Initiator.. "SOLMAN"                                                                      |
    |    Job Number..... 00104000                                                                      |
    Have you some solution or advice?
    Best Regards
    Jakub

    Please could you check the following ?
    - Please ensure that the latest version of note 1172948 has been implemented
    - Please follow the recommendation in note 1314587.
    - Check table 'DSWPGLOBALCUSTOM' and ensure that the entry 'DTMLOG' is available.  Create the entry if missing.
    These procedures will solve this issue.

  • How to set printer margins if using a lot of printers in virtual desktops which are deleted each time users logs off

    Hello,
    i am using Firefox version 31. I have a problem with page setup margins. I need to use left
    30mm; right 10mm; top 20mm; bottom 20mm. I am using VMware floating assignemnt linked clones
    virtual desktops. After users log off - machines are deleted and users next time logs on get's brand
    new VDI's. Users gets printers to VDI using login script from Active Directory.
    Option Explicit
    Dim strPrinterUNC, objNetwork
    strPrinterUNC = "\\some_server\printer_number_1"
    Set objNetwork = CreateObject("WScript.Network")
    objNetwork.AddWindowsPrinterConnection strPrinterUNC
    WScript.Sleep (20000)
    objNetwork.SetDefaultPrinter strPrinterUNC
    Set objNetwork = Nothing
    Each user have different logon script, because they use different printers (different printer names e.g. \\some_server\printer_number_2 ; \\some_server\printer_number_3 and etc. Page setup margins in Internet Explorer are ok. But how to make Firefox page setup margins as i need? For other options i have
    used CCK2 Wizard 2.0.4 tool. It worked fine. Maybe i can put some information in C:\Program
    Files\Mozilla Firefox\defaults\pref\autoconfig.js I have some usefull data in it allready. I
    have found info that: "Setting print margins is done in the printer settings". I have a lot of
    printers, so i can not set printer margins individualy for each of them. Now mozilla shows top,
    bottom, right, left each 12.7 mm. What should i do if i have a lot of printers in enterprise
    environment?

    Firefox has a profile folder that has preferences to save this. But the config that would need to be changed is:
    print. save_print_settings = True - (default): Save the print settings after each print job
    Locking that preference: [http://kb.mozillazine.org/Locking_preferences]
    Or done manually:
    #In order to check the margins, we need to go to ''File'' > ''Page Setup''.
    #Once this is done, switch to the ''Margins & Header/Footer'' tab.
    #Check what's set there under ''Margins''.
    The following are the default values for ''Margins'':
    Check these values accordingly and change them if necessary.

  • Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to.

    Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to. 
    I'm NOT in any way a Terminal Services expert and I need help trying to get an application program working in a multi-user environment.
    The issue is that the printer changes for every user that is logged in. The application needs to print NOT to the default printer, but to a "special" printer which is selected in the application... let's call it a label printer to simplify the explanation.
    You have your default regular printer, easy for the application to find that one, and then you have a special printer that labels get printed onto. The application needs to know what printer is the label printer. So we allow the user to select that in the
    application and the selection is stored in a config file in 
    C:\ProgramData\mfgr\prog\setting files
    I don't have access to the application so I can't change how this works.  
    In the "regular" world, selecting the label printer driver to use should be per machine, NOT per user. When a new user logs into a machine, the physical printer doesn't go "poof" and a new printer suddenly appear. Same printer for all
    users.
    Yet in terminal services, the physical machine is "merged" with the virtual machine on the server. And there can be many users logged in at the same time. So each users real machine (and real printer) is injected into the "fake" terminal
    services machine. The name of the printers is made unique for each user. So the printers DO go "poof" and change names depending on the user logged into terminal services.
    So user "A" logs in and sets up the application to print to "LabelPrinterForUserA" (or whatever the name of the printer happens to be), that setting is stored in the ProgramData subfolder, and all is well. Later, user "B" logs
    in, and when they print, the application tries to print to "LabelPrinterForUserA" which doesn't exist for user B or is only accessible by user A. If user B re-configures, that breaks it for user A. 
    SOLUTION 1: The way that /should/ work (in my mind) is that you define one "generic" printer in Terminal Services... call it "Virtual Label printer" and when the user wants to print to it, the print job gets re-directed back to whatever
    physical printer is actually connected to their local workstation. There is a map of virtual printer to actual printer depending on the current user. The application is told once to print to "Virtual Label Printer" for all users.
    SOLUTION 2: Or... there should be some way to make the ProgramData sub folders separate per user. E.g. when user "A" tries to access:
    C:\ProgramData\mfgr\prog\setting files
    they actually get 
    C:\UserData\UserA\AppData\mfgr\prog\setting files
    and user "B" gets
    C:\UserData\UserB\AppData\mfgr\prog\setting files
    So the question I have is: Does either of those solutions exist hidden somewhere in the setup of terminal server? Or is there another way around this issue that I don't know?

    I don't really have a "for sure" answer to this, but because people here can't seem to deal with a question that hasn't been answered I'll provide the best answer I did receive from ServerFault.com user Nathan:
    I can feel your pain with using old software on terminal servers ...the solution I've come up with definitely won't scale as it requires some manual configuration, but I've gotten this method to work with our label printers (which require to be
    printed to an LPT port...yep, that old).
    Share your USB-connected printers to the network on each machine. Then, have the user log in on aunique session for each of them
    (a TS account cannot be shared among computers for this to work) and install a network printer pointing to the USB one they shared. Try to use a DNS name to account for possible DHCP movements.
    After, it should work. Each user can do this since display names can be identical as long as the ports are different (which they are).
    This was clarified by the following series of comments:
    I think you are on to something here, and I originally advised the admin to do this. The problem he ran into is that it setup the printer names in the TS as "printer on usersworkstation"
    and he could not rename it except to change the "printer" to whatever. E.g. the "on userworkstation" remained. I believe there is another way of installing the printer which avoids this, but I can't find it. Ages ago, one used to do NET
    USE LPT2 \\computer\printer password /USER:domain\user /PERSISTENT:YES and then tell the driver to print to LPT2 –  James
    Newton Mar
    17 at 16:21   
    @JamesNewton That's actually the exact method we used. The way around the "network printer" part is to install it as local printer and map it to a TCP/IP port that way. –  Nathan
    C Mar
    17 at 16:28
    You mean in the case where the printers are TCP/IP connected and not local USB / LPT to the users workstation? That makes sense. Wonder if this will work for USB connected printers... –  James
    NewtonMar
    17 at 16:35   
    @JamesNewton You'd share the local printer on the client's PC then on the server connect via TCP/IP to it. You'd need static addresses or use DNS names if DHCP, though. –  Nathan
    C Mar
    17 at 16:51
    Ah. Yes. I see. Looks like the LPT thing should work even with a USB connected printer:superuser.com/questions/182655/… –  James
    Newton Mar
    17 at 17:09   

  • How can I use firefox between windows 7 & windows XP on a network, where we are using Samba server. If a user logs on different workstation(and OS) with same account.

    we have a Linux fileserver with Samba share and have several users.
    The users tend to be in different locations and need to login at different workstations, sometimes the workstation may be WindowsXP and othertimes it is windows7.
    How can we use Firefox & Thunderbird in this situation.
    I find that Windows7 uses compressed files to store the location information.
    when a user logs on to win7 it creates a new account.

    we have a Linux fileserver with Samba share and have several users.
    The users tend to be in different locations and need to login at different workstations, sometimes the workstation may be WindowsXP and othertimes it is windows7.
    How can we use Firefox & Thunderbird in this situation.
    I find that Windows7 uses compressed files to store the location information.
    when a user logs on to win7 it creates a new account.

  • Putting iMac to sleep with more than one user logged on

    Hi,
    Our family shares the iMca with an account for each member.
    They all leave them looged on all the time and we switch between each.
    I want to force th eiMac to sleep between mifnight and 6 AM to save power.
    When I set this up in Energy Save settings within System preferences, it will not execute and comes back with an error saying that there are other users logged on and this may cause them to lose work.
    Any idea how I can force this to over ride any objections?
    Thanks
    SD

    It sounds like you have scheduled it to shut down instead of sleep. Ensure you have selected Sleep and not Shut Down.

  • How can I get Firefox to run on a network with multiple users logging on with the same user name and password?

    I am trying to get Firefox running on a large network where I have multiple users that log on with the same user name and password. The problem is that when another user logs on to another computer the message comes up that their is already an instance of firefox running on that computer even though there really isn't. Only one instance can be run on the network at one time. I believe it is because firefox stores a shared profile as it thinks it is actually the same user even though it is being run on another computer. I repeat that each user that logs on uses the same user name and password but on different computers.

    I am trying to get Firefox running on a large network where I have multiple users that log on with the same user name and password. The problem is that when another user logs on to another computer the message comes up that their is already an instance of firefox running on that computer even though there really isn't. Only one instance can be run on the network at one time. I believe it is because firefox stores a shared profile as it thinks it is actually the same user even though it is being run on another computer. I repeat that each user that logs on uses the same user name and password but on different computers.

  • How do you keep two users logged in at the same time?

    How do I keep two users logged in at the same time to be able to access home sharing?

    Fast User Switching in Users & Groups or Accounts preferences in Login Options.

  • How to enable multiple users logging in to the same client machine?

    Hi,
    We have our home directories shared from the server (using AFP) and this allows our users to log in to any machine via the normal console login.
    But if you try to remotely login to a machine with ssh, and another user is already logged in at the machine, then you get the error message:
    Could not chdir to home directory /Network/Servers/machinename/Users/keith: No such file or directory
    I can connect (via) ssh, only if no user is logged in at the console. If I connect with ssh when no users are logged in, and then a user logs in at the console, then this unmounts the home directory for the ssh user.
    I have read about the mnthome command, and if I try running this (from my ssh login whilst there is a console login) then I get the error message:
    Error: Mount failed with error 1 Operation not permitted
    I'm assuming that multiple ssh logins must be allowed somehow? Can you only do this if you share your home directories with NFS (in this case, I understand that all home directories always appear mounted on each client)???
    Any help appreciated,
    Keith
    Server and all clients running 10.4.3
    iBook & PowerMac G5   Mac OS X (10.4.3)  

    Thanks for the info. I really thought that this would be a fixable problem. I also thought that it might work when two different users both logged in using ssh only (i.e. when there is no console login). But this also causes problems for the second ssh login.
    What practical work-arounds have people tried? The respondent to your other post (linked to above) suggested that NFS sharing might work, only that ssh logins still don't mount the home directory. Is this the case?
    Thanks for the speedy answer.
    Keith

  • How to disable multiple users logging

    hi
    I posted a question earlier and googled the same question but found no fruitfull solutions.
    http://forum.java.sun.com/thread.jspa?threadID=748292
    Rather than solving the problem i am looking for a way around it. Is it possible to Allow just one user to login to the website from one PC?
    lets say user opens two windows and both have login page of the website. If user logs in from window1 and tries to login again from window2 (even with same username) the error page displays the message. How would this be possible?
    I do something like this but this doesnt work
           HttpSession userSession = request.getSession(false);
           if(userSession!=null) {
                   System.out.println("Entered here");
           userSession.invalidate();
           userSession = request.getSession(true);thanks

    Thanks for the info. I really thought that this would be a fixable problem. I also thought that it might work when two different users both logged in using ssh only (i.e. when there is no console login). But this also causes problems for the second ssh login.
    What practical work-arounds have people tried? The respondent to your other post (linked to above) suggested that NFS sharing might work, only that ssh logins still don't mount the home directory. Is this the case?
    Thanks for the speedy answer.
    Keith

  • How can I map a drive to Azue file shares without user intervention or having a user logged on?

    I have the file share created, and can manually map the drive. I have even created a batch file that will create the drive mapping.  One step further, I used the following regedit to create the mapped drive:
    Regedit:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    add new string value:
    value name:  MapS
    value data:  c:\azurefileshare.bat
    I have a scheduled task running a batch file running the net use command, and the drive is available, and I can create/delete files, so access is not an issue.
    All works fine if I log onto the server, however, what I am trying to accomplish, is to have that drive mapped upon reboot without having a user log on.   Checking the log file running the net use command when no one is logged on, I get the following:
    Status       Local     Remote                    Network
    Unavailable  S:        path of file share
    Microsoft Windows Network
    The command completed successfully.
    New connections will be remembered.
    Is there a way to accomplish this?  Thanks in advance.

    Hello wdick,
    Thank you for your response and getting back on this issue. I am sorry that the blog that I referred to was not available. I pretty much thought that you must be referring to the ‘File Services’ which is in preview yet. I recently had another user with a similar
    question but currently, the users can access the files using only 'Interactive logon'. You can refer to this link: 
     http://social.msdn.microsoft.com/Forums/en-US/1f1fa9b5-a81d-4067-9d90-2c7c47667732/azure-file-services-authentication-without-prompt-passthrough?forum=windowsazuredata 
    Thanks.
    Syed Irfan Hussain

Maybe you are looking for