Dear DarioCrivelli,
Thanks for the reply

"As a general rule, if there is an active session and a page gets closed, the Server will be eventually notified, though with a possible delay;"

Can you please, give the details of Server notification (ie, function name etc) to handle the page closing event.

Thanks and regards,
Thiagarajan