Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6009953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:02:45+00:00 2026-05-23T02:02:45+00:00

How is it possible to use sql connection string over multiple web pages. I’ve

  • 0

How is it possible to use sql connection string over multiple web pages. I’ve been looking at the code below but i cant see how the code connects to the database.

select case str_Action

case str_AddLangText
    ' Complete add
    if isarray(str_temp1) and isarray(lng_ActionPermissionID) then
        for lng_Count2 = lbound(lng_ActionPermissionID) to ubound(lng_ActionPermissionID)
            if isnumeric(lng_ActionPermissionID(lng_Count2)) then
                for lng_Count = lbound(str_temp1, 2) to ubound(str_temp1, 2)
                    str_SQL = "A_PagePermission_insert"
                    obj_ADO.ClearParameters
                    obj_ADO.AddParameter "SessionID", adChar, adParamInput, len(obj_Session.str_SessionID), obj_Session.str_SessionID
                    obj_ADO.AddParameter "PermissionID", adInteger, adParamInput, 8, clng(lng_ActionPermissionID(lng_Count2))                       
                    obj_ADO.AddParameter "PageID", adInteger, adParamInput, 8, clng(str_temp1(0, lng_Count))
                    obj_ADO.Execute str_SQL, adCmdStoredProc, obj_Session.int_CommandTimeout & "<br />"
                next
            end if
        next
    else
        str_Messages = trim(obj_Content.GetContent("ErrorCode50003"))
    end if
    str_Action = obj_Session.str_FileName
case str_DeleteLangText
    'Complete delete
    if isarray(str_temp1) and isnumeric(lng_PermissionID) then
        for lng_Count = lbound(str_temp1, 2) to ubound(str_temp1, 2)
            str_SQL = "A_PagePermission_delete"
            obj_ADO.ClearParameters
            obj_ADO.AddParameter "SessionID", adChar, adParamInput, len(obj_Session.str_SessionID), obj_Session.str_SessionID
            obj_ADO.AddParameter "PermissionID", adInteger, adParamInput, 8, clng(lng_PermissionID)
            obj_ADO.AddParameter "PageID", adInteger, adParamInput, 8, str_temp1(0, lng_Count)
            obj_ADO.Execute str_SQL, adCmdStoredProc, obj_Session.int_CommandTimeout & "<br />"
        next
    else
        str_Messages = trim(obj_Content.GetContent("ErrorCode50056"))
    end if
    str_Action = obj_Session.str_FileName
case else

end select
str_Messages = str_Messages & “
” & vbcrlf & str_Required

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T02:02:46+00:00Added an answer on May 23, 2026 at 2:02 am

    obj_ADO is probably instantiated in previous code blocks. Have you checked if your code files all include the same file (usually conn.asp, setup.asp or similar)?

    Do a “Find in files” search with obj_ADO. You should be able to find where it is being used.

    Edit

    If you get too many results with that, try searching for Server.CreateObject("ADODB.Connection") or some other variant of ADODB.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Internationalization in SSRS We use SQL Server Reporting Services for our web
I have an ASP.NET web app where I use an ado sql connection to
Is it possible to use the SQL BEGIN TRANSACTION, COMMIT TRANSACTION, ROLLBACK TRANSACTION when
Is it possible to use TRY CATCH blocks in SQL Selects? For stuff similar
Is it possible to use all features of Linq to SQL for a MySQL
I wonder if it is possible to use KVC to generate SQL. I'm doing
I have recently started looking into Google Charts API for possible use within the
Is it possible to connect to Sql Azure with Entity Framework Code First ctp
Possible References I have found a similar problem: Refreshing a SQL database connection which
Is it possible use mod_rewrite to resolve addresses hosted on another server? Say I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.