Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Run sql query on browser close

Author  Topic 

srinivas.alwala
Starting Member

30 Posts

Posted - 2009-10-23 : 09:41:09
Hi,

Hope you all are doing well.

Is there any solution to run a DML statement on browser close.?

If anybody have a solution to this, kindly let me know.

Thanks in advance.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-10-23 : 14:09:21
what dml action you want to perform while closing browser?
Go to Top of Page

srinivas.alwala
Starting Member

30 Posts

Posted - 2009-10-24 : 00:28:36
As requested,

Update statement like,
Update tablename set flag='N' where userid='xyz' on browser close.

Post session start flag gets updated to 'Y' and on browser close want the flag to be updated to 'N'.

Thanks in advance.
Go to Top of Page
   

- Advertisement -