473,395 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Creating audit functionality using ASP

Greetings,

I'm looking for suggestions about creating audit functionality for ASP pages.

The ASP page I want to audit is an Update Record Form, which contains a number of fields, such as text boxes and menus. Ideally, I want to know how to create an audit tool that tracks and records the changes of any form fields with their old and new values using an ASP web page

Whatever advice or tutorials you have or can direct me to would be greatly appreciated.

Regards,

- JM
May 8 '08 #1
2 1407
jeffstl
432 Expert 256MB
Greetings,

I'm looking for suggestions about creating audit functionality for ASP pages.

The ASP page I want to audit is an Update Record Form, which contains a number of fields, such as text boxes and menus. Ideally, I want to know how to create an audit tool that tracks and records the changes of any form fields with their old and new values using an ASP web page

Whatever advice or tutorials you have or can direct me to would be greatly appreciated.

Regards,

- JM
From the way you worded this question I am assuming you are talking about tracking the actual data entered into these fields for a particular record.

If that is the case you need to have your database be modeled to store historical records.

This means you would need to have a flag column in your database that marks a record as "historical". Then whenever a record is updated using this form you mentioned, you would have to first update the old record marking it historical, then insert a new record.

This can lead to complications and other various changes in your system depending on how many tables this form is related to. You may also want a "Last User Updated" field and Last Date Updated field in your database to log the user who made the changes if you don't have one already.

I can help if needed but the main starting point will be to create a new column in your database for flagging records as historical ones. Also if I read your question right.
May 9 '08 #2
jhardman
3,406 Expert 2GB
I can help if needed but the main starting point will be to create a new column in your database for flagging records as historical ones. Also if I read your question right.
...or a column that lists version number, always assuming the highest number is the most recent.

Jared
May 9 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Raphael Gluck | last post by:
Hi, Is it possible for one to program one's pages as such that when a database table is updated over the web, via a form, that an e-mail confirmation is sent to a specified address, notifying...
0
by: Alan Cobban | last post by:
Hello, I'm in the process of tuning our auditing procedures. At present we have one table, mp_event_audits which holds username, date/time, change type, data changed etc columns - DEV> desc...
3
by: John Pan | last post by:
Hi I am looking to implement an audit/history table/tables but am looking at doing this without the use of triggers. The reason for doing this is that the application is highly transactional...
5
by: alanknipmeyer | last post by:
Dear Sirs, Having previously used other SQL implementations I have grown used to having an audit trail to find when problems occured, the problem I am increasingly finding with Access is that...
6
by: Parag | last post by:
Hello, I have been assigned the task to design the audit trail for the ASP.NET web application. I don't know what the best practices for such audit trails are. Our application one dedicated user...
0
by: Santiago Cassina | last post by:
Hi list. I just want to send to you an sql file containing tools for audit the UPDATE and DELETE statements in a database by saving all the modifications made by a network/system/database user. I...
2
by: Scott Cain | last post by:
Hello, I am trying to create audit tables for all of the tables in my database. The function, table and trigger create statements are below. Apparently, I am not doing it quite right, because I...
1
by: melissamuse | last post by:
I am using an MS Access 2002 database to track user login information. I have copied Allen Browne's audit log and removed the references to the error handling. So far, on all of my forms (for 7...
1
by: dotyet | last post by:
Hi Everyone, I am looking at a lot of entries similar to the following in my Windows 'Audit' Event viewer. They are all success events and not failures. The environment is: DB2 8.2 FP 14...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.