Jump to content

Absolute Database?


bolossis

Recommended Posts

  • 1 year later...

I have add a Absolute database connection to main module.

So my software has to do follow: every time a user login the connection string will connect to his database

Example

User 1: Database C://Test/user1.abs

User 2: Database C://Test/user2.abs

 

So i have a main database that control users credentials and their connection stings.

On login the database name are depend of his login.

 

When i deploy the app and i try to login as differnet users the database connection is always the same.

I'm trying to login as user1 in browser1 and user2 in browser 2, and the data are the same.....(same databsase)

Am i doing something wrong?

 

 

Thanks in advance

Link to comment
Share on other sites

  • 3 weeks later...

my application after the login change the name of database (unimainmodule.abdsdatabase.databasefilename := nomeuser + '.abs') .

 

but the application not read the database : error -->    database xxxxx not exist

 

Idea is for every user the db

 

with vcl or fmx run 

 

 

Is impossible change the name of database at runtime.

 

thank

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...