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

  • Home
  • SEARCH
  • 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 6112853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:47:32+00:00 2026-05-23T14:47:32+00:00

In the DataAbstract sample application Old\Connection By User the procedure AcquireHoldButtonClick creates a connection

  • 0

In the DataAbstract sample application “Old\Connection By User” the procedure “AcquireHoldButtonClick” creates a connection to the database and stores a reference in the user’s session variable.
I plan to use such a mechanism but fail to understand where and when I will need to access this session variable to provide the correct connection for that user.

As an example, when I call the ApplyUpdates method on the client, the server will have to access the connection in the session but I don’t know which event I have to catch from the server to achieve that ?

  • 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-23T14:47:32+00:00Added an answer on May 23, 2026 at 2:47 pm

    Found it: DataService.OnBeforeAcquireConnection

    “This event is triggered when the Data Abstract service property AcquireConnection is set to TRUE and the service is about to ask the connection manager for a database connection. It allows you to override the ConnectionName property value that was set at runtime to connect to a different database, or is left blank to use the default connection in the list of those owned by the connection manager.”

    http://wiki.remobjects.com/wiki/Authentication_and_application_security_%28Delphi%29

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

Sidebar

Related Questions

I have a client/server application built using DataAbstract and RemObjects where the client is
We have a relatively large application that is strongly tied into Firebird (stored procedures,
Background for understanding the question I'm currently designing a simple, light-weight (application-specific) message-based API
I'm toying around with Delphi. Most of my desktop development is done in .Net,
I have a JSON file which I need to iterate over, as shown below...
After asking this question I realized that to build what I need I'd better
I previously asked a question about how to chaining exceptions in C++, and one

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.