|
Hello Sde,
Thank you for attempting to understand what I'm trying to achieve. I appreciate your efforts. The answers to your questions are as follows:-
1. I do not have a query when I set $_SESSION['passwordprotect']. Someone told me that I have to track the user's id(which is stored in the MySql database) in order to track his surfing activities. I hope you understand what I am talking about here.
2. Yes, I do have a user table in my MySql database. This table is called customers & contains the following fields - id, username, password, email & name.
3. Okay, maybe I should not be tracking his password since he has already succesfully logged in. Good point, thank you. I think I should be tracking his id only.
4. On a few the pages, there are forms that queries the database. It's something like a search engine so I want to track what keywords the user is using to query the database.
5. I do not need to log the user's IP address because all users are registered customers whose particulars are already in my MySql database.
Warm Regards.
|