-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> What would be the best way to track user movements throughout
> a site (i.e.
> what pages they have requested, what keywords they have
> searched on, their
> IP, etc.)? The users are already required to login with a userID
> and password. I need to be able to store the tracking info in a
> table.
That entirely depends on your definition of "best." The least
server-invasive method would be to ensure that all your search terms,
etc. are sent in query strings. Then you can just analyze your
webserver usage logs & get most if not all of what you need. When
the user logs in, you'd probably want to associate their CFID:CFTOKEN
pair with their login account in the database, then you can go back &
compare the CFID:CFTOKEN cookies stored in your logfiles w/ the DB to
figure out which session goes with which user.
If you want something more real time & easier to query, then in your
application.cfm, you could log each request to a table. You'd be
looking at a speed hit for all that database access, but it probably
wouldn't be THAT bad if the site isn't too heavily loaded. Your DB
table should probably contain the userID, file requested, date/time,
any query/form parameters, and any other details you might find
useful to track. Then you just query to table & you should be able
to generate most any type of report you need.
Hope that's helpful.
Best regards,
Zac Bedell
========================================
Zachary S. Bedell,
Chief Technology Officer,
Adirondack Technologies, Inc.
Please include original message in any replies -- I get a
lot of email every day, and I have a REALLY bad memory...
So I don't always remember everything that was said.
Thanks!
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>
Comment: Please use PGP!!!
iQA/AwUBOVIzHAraVoMWBwRBEQLacQCaAzVB4FBaciMIOuDPkwQ5HcV6xJ8An3tN
gbERXPUHJmT62NIjmjnDf4kq
=WQhO
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.