NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: JohanR on March 22, 2011, 12:50:56 AM
-
Hi,
Has there been changes or improvements to logging users of the website?
This link points to the tip from Mike Grigsby.
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=474.0
I was just wondering if there have been developements since then that might have an effect on this method?
thanks
Johan
-
Hi Johan,
yes, quite a bit has changed.
Probably the best place to start is by running your site under the Multi-Host app. The Multi-Host has quite a lot of additions to the logging built-in.
If you didn't want to use that, then take note of the new AddLog methods which can be used to create your own custom logging.
cheers
Bruce
-
Hi Bruce
Thanks,
found some info in PDF document and am also looking at the multi-host solution.
Johan
-
Hi Bruce
I have a webuser file that handles my security.
Any tips on how to link in this user_id to the host logfile?
This way I can keep track of my registered web users and see how often they log in and what they get up to.
thanks
Johan
-
Hi Bruce,
forgot to add,
idea that I am working on
is to expand the logfile in the host to store the user_id,
and then add the code in the host.exe to check if session variable exists for user_id and then add the value to the file.
Am I on the right track?
thanks
Johan
-
yes. Keep the code tight though - it'll get called a lot.
cheers
Bruce