U should stick a onunload() event handler in the body tag, which could then
popup a new window, run the page, close the window.

Russ Michaels
Macromedia/Allaire Certified ColdFusion Developer
 
CFDeveloper
The free resource and community for ColdFusion developer.
http://www.cfdeveloper.co.uk

Join the CFDeveloper discussion lists.
To subscribe send an e-mail to [EMAIL PROTECTED]


> -----Original Message-----
> From: Sandeep Shetty [mailto:[EMAIL PROTECTED] 
> Sent: 01 March 2004 20:17
> To: '[EMAIL PROTECTED]'
> Subject: [ cf-dev ] OT:Browser close event
> 
> 
> Hi,
> I need to write code to delete a record from the database 
> when a person closes the browser window. Has anyone 
> implemented a tested method to do this, i.e. capture the 
> browser close event and delete a record from the database (by 
> calling a cfm page). Can we do this in the body unload event.
> 
> All help much appreciated.
> 
> Thanks in advance,
> Sandeep
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to