ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 21st, 2000, 10:06 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
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.

Reply With Quote
  #2  
Old March 1st, 2000, 04:12 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<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.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Can't delete record on unload


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway