I would be interested in seeing code. Thanks

----- Original Message -----
From: "Michael O Reilly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 24, 2000 9:50 AM
Subject: RE: Slightly OT - Detecting that a page has completed. - Many
Thanks


> Hi all,
>
> I'd just like to thank everyone who suggested solutions to the problem of
> getting confirmation that a user has received all of a page they have
> requested. The solution may be of use to others.
>
> Heres how it works ....
> When a user requests to see the page I'm interested in logging, I call a
> stored procedure which inserts a userid and datetime into a table
> (t_RequestStart). At the end of the requested page is a small piece of
> Javascript which uses remote scripting to call a function back on the
> server. This function uses ADO to call a similar stored procedure. This
> inserts a record into a separate table (t_RequestEnd) which again stores
the
> user id and datetime. By ordering records by datetime for a user in both
> tables, we can see the http requests beginning and end times. Where
> t_RequestStart and t_RequestEnd are within say 1 minute of each other, we
> can safely assume that the user has recieved the page.
>
> If anyone is interested in this code, I'm happy to share it. Microsoft's
> documentation on Remote scripting seems to have some bugs in it. It took
me
> about 2 hours to get the sample code working, probably because of my
> inexperience with ASP.
> I also seem to be suffering from brain melt from using ASP, CF and
> JavaScript at the same time.
>
> Regards
> Michael O'Reilly
> TransAer
>
>
>
>
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> 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.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.

Reply via email to