Why does this not work?
<cfset session.timeFirstView = Now()>
<cfscript>
pagetime = structnew()
pagetime.FirstView = session.firstTimeView
pagetime. ExitTime = onunload(now())
pagetime.Visited = pagetime.Visited - pagetime.Firstview
alert(time.Visited)
</cfscript>
Any help preciated,
JT
-----Original Message-----
From: Daniel Farmer [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 30, 2004 11:05 AM
To: CF-Talk
Subject: Re: How do I track
you could set a session variable...
<cfset session.timeFirstView = Now()>
Then on an unload _javascript_ event...to detect when the page is left and
have that
trigger a second Now() CF function, then you'd have the start and end
time.
----- Original Message -----
From: JT
To: CF-Talk
Sent: Sunday, May 30, 2004 1:25 PM
Subject: How do I track
How do I track How long someone has viewed a coldfusion page...any ideas
would be apprciated.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

