Home > Archive > FoxPro database connector > April 2005 > Sharing Connections in Remote Views









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Sharing Connections in Remote Views
Peter

2005-04-07, 8:05 pm

I have posted this in another thread but I guess I should post this in this
thread instead.

I want to confirm my interpretation of the following paragraphs in the
section Share Connections for Multiple Remote Views of the Help in VFP 8 and
VFP 9:

Only one active instance of a named connection definition is shared during a
Visual FoxPro session. If multiple instances of the same connection
definition are active, the first instance to be used as a shared connection
becomes the designated shared connection. All views that use that connection
definition and employ connection sharing will access the remote server
through the designated shared connection.
[My interpretation: It means that the sql views in different dbcs which have
the same named connection and the setting share connection of remote views
are .t. can share same connection. So, connection sharing is not limited to
sql views in one dbc.]

Connections other than the designated shared connection are not shared.
Connection sharing is not scoped to sessions.
[My interpretation: Connection sharing is not scoped to DATA sessions.]


Thanks.

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com