Home | Advertising Info68 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, August 22, 2014  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Delete
From: Ranjith
Date: 11/4/1999 6:56:14 AM
IP: 203.94.224.6



 

hi,
I want to delete a record from the table when a user closes his browser,I have written the script for this on the Session_OnEnd,but its not working,any help would be appreciated.
My code goes like this:

SUB Session_OnEnd
set connect = server.CreateObject ("ADODB.connection")
connect.Open "DSN=xxx;UID=xx;PWD=xxxx;"
set rs = server.CreateObject ("ADODB.recordset")
rs.Open str, connect
str = "delete from login where user_id =1"
connect.execute (str)
rs.Close
set rs = nothing
connect.Close
set connect = nothing
end if
END SUB

Thanks


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2014 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com