Using a logfile.

Results 1 to 2 of 2

Thread: Using a logfile.

  1. #1
    Shaun (janix) Guest

    Default Using a logfile.

    Hey friends,<BR> Recently, I made an INTRAnet website that became very popular even though I didn&#039t expect it too. Anyway, now that it has grown I want it to start logging everytime it sends an email. Could I do this just by opening up a text file and then writing to it everytime an email is sent, or do I have to do it some other way. The reason I am asking this is because I was wondering what would happen if 2 users caused the app to email at the same time. Wouldn&#039t the app error if the file it was logging to was opened twice? I hope this makes sense and I hope someone can point me in the right direction.<BR><BR>Thanks,<BR> Shaun <BR>

  2. #2
    jusCoz Guest

    Default RE: Using a logfile.

    U could use a Application Variable and use the Application_OnStart and Application_OnEnd events to read from and write to a text file.<BR><BR>Hope this makes sence to U :))<BR><BR><BR><BR>

Posting Permissions

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