Problem: I need to do some database work when a user "finishes" his use of the application. I cannot guarantee that the user will always cooperate by, say, using a button when done.
I've hit upon using a Javascript function on the onunload event to open a window to a ColdFusion page that will do the query updates. However, I don't want the window... If I close it immediately, I'm uncertain if the browser will send the URL request anyway, or will send indication of the close that will abort any ColdFusion service. I don't know if the user closing the window will have detrimental effect either. And, aethetically it would be nice to not put up the window at all. I suspect I'm not the first person to want to do something like this. Is there a neater solution? thanks! Jon. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183681 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

