NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Connect Multiple MSSQL database with FM3
« previous
next »
Print
Pages: [
1
]
Author
Topic: Connect Multiple MSSQL database with FM3 (Read 4132 times)
ralonso2001
Jr. Member
Posts: 56
Connect Multiple MSSQL database with FM3
«
on:
March 27, 2013, 07:25:48 AM »
Hello, you can select using webserver user, password and database from a browser using Nettalk MsSql Fm3
Thanks
Rodrigo
Logged
Regards,
Rodrigo Alonso
Mendoza - Argentina
kevin plummer
Hero Member
Posts: 1195
Re: Connect Multiple MSSQL database with FM3
«
Reply #1 on:
March 27, 2013, 02:32:59 PM »
1) You need a way of storing the DB connection string associated with each user (p_web.ssv is a good way)
2) In your web handler processlink embed set your glo:dbowner to what you saved.
After your app connects to SQL via fm3 when you start up, there is no need to use FM3 to do the connection again.
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Connect Multiple MSSQL database with FM3
«
Reply #2 on:
March 27, 2013, 09:56:32 PM »
also, make sure your glo:owner string for the tables is THREADed.
Then, as Kevin says, it can (MUST) be set explicitly in the WebHandler, ProcessLink, Before parent call.
cheers
Bruce
Logged
ralonso2001
Jr. Member
Posts: 56
Re: Connect Multiple MSSQL database with FM3
«
Reply #3 on:
April 03, 2013, 09:19:55 AM »
This method works if you disable all file manager features
But I want to keep updating the tables
any ideas?
«
Last Edit: April 04, 2013, 10:53:54 AM by ralonso2001
»
Logged
Regards,
Rodrigo Alonso
Mendoza - Argentina
kevin plummer
Hero Member
Posts: 1195
Re: Connect Multiple MSSQL database with FM3
«
Reply #4 on:
April 04, 2013, 06:39:02 PM »
I have fm3 enabled at it still works as discussed.
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Connect Multiple MSSQL database with FM3