|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can't delete record on unload
<i><b>Originally posted by : Plui (plui@hutchcity.com)</b></i><br /><br />Hi,<br /><br />I need to delete a record from database whenever the web page is unload.<br />I use a Javascript funcition "onunload" for the page that call the asp which will delete the record from the database. However, it didn't works properly sometimes that the record can't be deleted.<br /><br />What's the problem? Pls help.
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : MIke B (mikeb811@hotmail.com)</b></i><br />The reason that it is not working correctly is that the onunload event is called at the client while the access to the database is provided on the server side. Not exactly sure how this would be done but send me some more info and maybe I can help or at least develop an alternative procedure.<br /><br />Mike<br /><br /><br />------------<br />Plui at 2/21/2000 8:06:42 PM<br /><br /><br />Hi,<br /><br />I need to delete a record from database whenever the web page is unload.<br />I use a Javascript funcition "onunload" for the page that call the asp which will delete the record from the database. However, it didn't works properly sometimes that the record can't be deleted.<br /><br />What's the problem? Pls help.
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Can't delete record on unload |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|