<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi All,<BR>
&nbsp;<BR>
I have a problem, which I am not sure is solvable.<BR>
&nbsp;<BR>
I have a pop up window on my site, that launches a chat window. Now, I would like to set a flag in my database, when someone ends the chat. Easy done, if someone clicks the "End Session" link in the window, but what if someone simply closes the window by the normal means of clicking "close" icon&nbsp;in the top right of the window.<BR>
&nbsp;<BR>
Ideally, I would like to grab that call, and set an Ajax call to update my database.<BR>
&nbsp;<BR>
Is this possible?<BR>
&nbsp;<BR>
Any thoughts/help would be greatly appreciated.<BR>
&nbsp;<BR>
Thanks,<BR>
&nbsp;<BR>
Alan...<BR><br /><hr />
Have you played Fishticuffs?
 <a href='http://www.fishticuffs.co.uk' target='_new'>Get fish-slapping on Messenger</a></body>
</html>