Print Page | Close Window

Log user Information Upon Login/Logout

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=135
Printed Date: 21-November-2024 at 12:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Log user Information Upon Login/Logout
Posted By: dwatch
Subject: Log user Information Upon Login/Logout
Date Posted: 26-February-2006 at 1:48pm

I want to log data of a user each time/he or she logs in and out the site through the My Account Screen:

The information I would like to write to a table is:

CustID

email address

IP Address

CustomerType

Date

Time

Log In or Logout

It is a matter of pulling appropriate columns from the 'customers table' then writing them to a new table named 'userlog' along with the server variables for IP Address, date and time immediately following the customer's login or logout to the site.  The tricky part is making it work.

Can anyone help or add some input?  I believe this will benefit everybody.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net