Login hook/ log off hook


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Login hook/ log off hook

  1. #1
    Join Date
    Apr 2005
    Posts
    9

    Login hook/ log off hook

    I'm working on a project and I need to send a message at login and logoff of a users. However the tricky part is that I need to run the server while there are no clients logged on to the system.

    So I would like to run that application as a service, but I need to catch the logon log, off hook, for each user that logs on to the machine. Any info for Windows or Mac would be great.

    Thanks, mike

  2. #2
    Join Date
    Apr 2005
    Posts
    9

    Anyone?

    Any sugestions on where to look?

  3. #3
    Join Date
    Jan 2006
    Location
    Sydney
    Posts
    49
    Need a bit more details.

    Is your main application J2EE based?

    If it is a J2EE based app on a server which supports JMX, you can write a service which continuously polls your file system for any logging info.
    Arul

  4. #4
    Join Date
    Apr 2005
    Posts
    9
    Thanks! I'll look into it.

Similar Threads

  1. Replies: 0
    Last Post: 09-26-2002, 12:00 AM
  2. restoring transaction log files
    By amy in forum Database
    Replies: 0
    Last Post: 07-22-2002, 03:38 PM
  3. Replies: 0
    Last Post: 03-26-2002, 08:00 PM
  4. Truncate Log ?
    By Ruaidhri in forum Database
    Replies: 2
    Last Post: 12-20-2000, 10:56 AM
  5. Viewing Transaction Logs
    By Kristin Piskulic in forum Database
    Replies: 2
    Last Post: 05-02-2000, 03:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center