On 5/1/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > Like I said, I have it in the Header.cfm, so it is always there no matter > what link I click on. Now if I had a link that took me away from the admin > site it would probably do what it is doing for you. But since in the admin > part, none of the links takes you out of the admin section, it works? I am > guessing here. I am no JS guru by any stretch of the imagination.
Actually, that's not relevant. I assume you're including header.cfm on every page and not calling it from a frame or something. the browser doesn't care if you're leaving the admin or not. all it cares is if you're leaving the currently loaded page. No matter what, if you navigate to a different page via any method.. or close the browser window or tab, or call javacript methods that perform those actions... the current document is unloaded, and the onbeforeunload event SHOULD Be called. Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276670 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

