ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Site Login Statistics
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Site Login Statistics

 Post Reply Post Reply
Author
Message
dwatch View Drop Down
Newbie
Newbie


Joined: 26-February-2006
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote dwatch Quote  Post ReplyReply Direct Link To This Post Topic: Site Login Statistics
    Posted: 22-May-2006 at 10:00am

It would be great to be able to track and view some site login statistics.

1)who is currently logged in

2)daily list of who logged in, how many times, how long they were logged in for, there IP address

Anyone doing this or need this too?

Back to Top
amgqmp1 View Drop Down
Groupie
Groupie


Joined: 01-November-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote amgqmp1 Quote  Post ReplyReply Direct Link To This Post Posted: 25-May-2006 at 2:49pm
Yep, I could use this too.  We sell "soft" services (e.g. ability to login and redownload a purchase).  The ability to directly measure this would be terrific...would help us do more than just guess.
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 25-May-2006 at 2:56pm
I don't know if any other developers have implemented this but we have had requests for something similar from our clients but have not built it yet. Are you interested in having someone develop this functionality for you?
NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
dwatch View Drop Down
Newbie
Newbie


Joined: 26-February-2006
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote dwatch Quote  Post ReplyReply Direct Link To This Post Posted: 25-May-2006 at 3:05pm
hoping to get help right here in this forum for everyone.
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 27-May-2006 at 3:43pm

Here is a basic overview of what would need to be done. You would need to know ASP and SQL to accomplish this.

1. Setup a new table in SQL to store the user login information you want to collect: SessionID, CustomerID, StartDate/Time, EndDate/Time, IP Address.

2. In the global.asa Session_OnStart you would add code to create a new entry in the new SQL table with the initial information. You wouldn't have a customer ID until they login or create an account.

3. If/when a customer logs in or creates an account, add their customer ID to the SQL user record for the active session.

4. In the global.asa Session_OnEnd, write out the End Date/Time to the active SQL user record.

5. Create a report in the Control Panel that would summarize the data collected in the new SQL user table to show the details you want. Sum on CustomerID to see how many times a specific customer logged in. Perform cals on the Start/End times to see how long users stayed on the site, etc.

6. Create a report in the Control Panel that shows currently active users (where the EndTime is not filled in for the user table). If there is a customerID entered in the user record, you could pull the customer name from the customer table.

Hope that points you in the right direction.

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
dwatch View Drop Down
Newbie
Newbie


Joined: 26-February-2006
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote dwatch Quote  Post ReplyReply Direct Link To This Post Posted: 19-June-2006 at 9:04am
thanks! based on netprofits comments, the  only thing I need help with is the global.asa code
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 19-June-2006 at 9:10am
Here is a helpful article on the global.asa events and where you would add your code: http://www.w3schools.com/asp/asp_globalasa.asp. Is that what you need?
NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.