CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> PHP

 user activity logging

Print topic Send  topic

Author Message

Posts: 215
Posted: 08/17/2016, 2:31 PM

Has anyone implemented activity logging in a CCS application? I am not sure to what extent the customer wants to log employee activity, but I thought maybe someone had already created this for another app and could give me some ideas.

View profile  Send private message

Posts: 638
Posted: 08/18/2016, 3:39 AM

timestamped inserts into log tables - custom code in the after insert, after udpate, and delete events
Central Coast, NSW, Australia.

View profile  Send private message

Posts: 513
Posted: 08/19/2016, 1:28 AM

@kirchaj - I have a similar method as MichaelMcDonald. I just put a common function in so all I need to do in the After Insert etc is a Call Function and use the same function and maybe pass a flag for 'insert' or 'update'

I also use that function to set the display of a "Item as been Saved" flash-message (not 'Flash', just 'short lived message')

CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message

Posts: 119
Posted: 08/22/2016, 8:35 AM

It's helpful to add create/update timestamp fields, as well as the active user ID, to each of the tables where logging is required. It's simple and effective, and taken care of during record inserts and updates automatically.

For more extensve auditing, use a seperate audit table to keep track of what users did and to which tables.
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.