Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom User Auditing/LoggingCustom User Auditing/Logging
Previous
 
Next
New Post
1/10/2008 10:41 AM
 

Hi all,   I've attempted to search the forums and I guess the search just doesn't want to work for me, so I'll post my question...

I'm needing to write a user auditing system for a DNN (4.7) site...  Basically I need to log when a user enters a number of areas and when they leave.
I've been able to add a db entry using Page_Init for the control and/or New() for the module and that works great..  However I can not get an entry for them leaving the module...  I've tried in Finalize() of the module and Page_Unolad and Pge_Dispose with no luck.. no of them seem to run my code for inserting a record into the db..

Can someone tell me if there is a better way to keep track of everything users do in the system?  Is there a module I can buy for this? 

Are there any "unload" events I can use to capture either a page change or even the closing of the browser? 

 

Many thanks!

Matthew
MattGabbard@InsourcingTech.com

 

 
New Post
1/11/2008 5:06 AM
 

I think you can't do this effectively.

There is a javascript event for beforeunload but theat assumes that Javascript is enabled and even then you would have to work out how to call your logout script (possibly using AJAX).

CMIIW.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom User Auditing/LoggingCustom User Auditing/Logging


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out