I'm working on some mods on my main app, to do with tracking user clicks 
and the path they take through the various mini-sites running in our app.

Currently I do my own logging - various CGI scope data (including IP), 
plus some internal IDs. But I'd like to expand that to further be able 
to pull out all data for a given user (don't care who they are) so I can 
say "this person clicked HERE, then HERE, then THERE", that sorta thing.

I'm tinkering with unique identifiers - I've added a "UUID" field to my 
DB tables used for tracking. I'm generating a UUID and tossing it in a 
cookie. In my logging script include, if that cookie's set, I add that 
UUID value along with my other tracking data. No sweat if cookies are 
enabled.

But what I want to do is NOT log ANYTHING for the page views, UUID-wise, 
if cookies aren't enabled.

The trick is, as best I can tell, the only way to detect if cookies 
aren't enabled is to do the two-page deal - first page, set cookie, 
redirect to second page, check for presence of cookie.

I'm looking for way (if it's possible) to sniff that out on the one 
page. Right now, I can do a <cfcookie> set (and I'm doing a session var 
as well, as an experiment) and the values stick through the page - so 
when it comes to the logging include, it's saying "Oh I've got that 
UUID" and logging it, despite that it's a fresh UUID every page when 
cookies are off.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281532
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to