NetTalk Central

Author Topic: Delete record when browser is closed  (Read 3500 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Delete record when browser is closed
« on: December 06, 2012, 04:11:17 AM »
I have a site that users have to login and when they logout a particular record as to be deleted, so i was using the session deleted to delete this record when they logout but in some suitation when they just close browser without logging out i need to delete the record and i have put a timeout on sessions and try and delete after timeout deletes session but that seems not to work . The only way is when they logout.
Please anybody on how i can solve this problem.
(Note: program is run on a the multi-host program as a dll - but when i run program on its own without going through the multi-host program (host.exe) it works fine!)

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Delete record when browser is closed
« Reply #1 on: December 06, 2012, 01:53:28 PM »
are you doing in the webhandler or webserver procedure?

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: Delete record when browser is closed
« Reply #2 on: December 07, 2012, 01:15:45 AM »
Hi. Kevin
Am doing it in the webhandler