Home | Advertising Info94 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
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
 



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: Urgent Help, pls! Thanks.
From: feix
Date: 6/8/2001 2:03:15 AM
IP: 165.21.21.39



 

Is the below part, which is a part of my Global.asa file. Thanks for your help.

Sub Session_OnEnd
' Decrease the active visitors count when the session ends.

Application.Lock
Application("ActiveUsers") = Application("ActiveUsers") - 1
Application.UnLock

'create ADO connection object and connect to Oracle database.

set conn = server.createObject("adodb.connection")
conn.open = "dsn=Impact;uid="&session("username")&";pwd="&session("password")&";"

SQL = "SELECT trim(registeree_id) FROM impactadm.onlinereq WHERE trim(status)='In Progress'"

Set rs_id=server.createobject("ADODB.RecordSet")
set rs_id=conn.execute(SQL)

if rs_id("trim(registeree_id)")=session("username") then
SQL_b = "UPDATE impactadm.onlinereq SET status='OPEN', registeree_id=''where trim(registeree_id)='"&session(username)&"' and trim(status)='In Progress'"
conn.execute(SQL_b)
end if

End Sub


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 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 help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free 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