Hello, I 'spose the title says it all, I want to know whether the user has stopped the page from loading before it has completely loaded and perform action in that manner. I 'spose it can be done via javascript using "onunload" but I'm not sure if it detects page load cancelling through browsers... Thanks in advance... Regards
You could place a bit of javascript at the end of the page, which would load once everything else has loaded. This javascript could hit a callback url of some sort. E.g. top of page, callback.php?id=23232 bottom of page callback.php?id=23232&finished=1
well i know that part but it works even when the page has not been completely loaded and the page load is cancelled.
put in a timeout that triggers a load of a callback-URL after some given time, which you are sure the whole page has loaded.
thanks, i think i'll use both, the callback url and onload. that should make it better. thanks for all your suggestions