Date Last updated

Results 1 to 3 of 3

Thread: Date Last updated

  1. #1
    Peter McLernon Guest

    Default Date Last updated

    I am trying to develop a "page was last updated on:" comment to appear on one of my ASP files that displays the results of a database. <BR><BR>When someone updates the database by either adding a new record, or editing an existing record I want the message to display that the database was updated (i.e. "Page was last updated on 1/2/00 at 5:27 pm")<BR><BR>Is this within the scope of ASP?

  2. #2
    Join Date
    Dec 1969

    Default Simple

    Whenever update/insert occur to DB store the time in a application variable(keep on overwriting it), and display it in the page in which u are displaying the records or in any other page u want.

  3. #3
    Join Date
    Dec 1969

    Default Don't forget

    to use application.lock and application.unlock statements before and after changing the application variable values.<BR><BR>it will prevent more simultaneous users trying to update this variable at a time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts