Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2007
    Location
    Boston
    Posts
    26

    Multiple Adaptors for one stream session

    Is it possible to associate two adaptors to the same session? We have multiple data sources and also different authentication/authorization module for each data source. Besides the concurrent connections from browser to the same domain is limited so we try to reuse the same connection. If the answer is no, what options we have?
    Thanks

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    972
    You can use multiple Data Adapters in the same session, as demonstrated by the various demos included in the distribution package.
    Hence, for each table, the client can specify one Data Adapter, to which all items in the table belong.

    However, a single Medatata Adapter must be used.
    Unfortunately, the authorization requests to the Metadata Adapter don't specify the Data Adapter name, so you have to supply items with different names from different Data Adapters and you have to base on the item names only in order to authorize each request in the way required by the related data source.

    On the other hand, you can't perform multiple authentications in a single session. You would need to find some compromise.

 

 

Similar Threads

  1. Replies: 1
    Last Post: October 25th, 2010, 12:23 PM
  2. Replies: 1
    Last Post: June 7th, 2010, 11:13 AM
  3. How to close Session in LS?
    By spganesh in forum Client APIs
    Replies: 1
    Last Post: February 10th, 2010, 10:23 AM
  4. Error: Only a client can stream data.
    By lethanhclub in forum Adapter APIs
    Replies: 6
    Last Post: September 16th, 2009, 10:26 AM
  5. Replies: 5
    Last Post: February 24th, 2009, 10:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 06:50 PM.