Results 1 to 2 of 2

Thread: Using multiple Icegrids from one php page

  1. #1
    bdk
    bdk is offline Registered User
    Name: Bruce Karsh
    Organization: Wink Technologies, Inc
    Project: Wink People Search Engine
    Join Date
    Sep 2006
    Posts
    9

    Using multiple Icegrids from one php page

    The manual says:


    PHP scripts are not allowed to create or destroy communicators. Rather, a
    communicator is created prior to each PHP request, and is destroyed after the request completes.
    Does this mean that a .php web page can only use interfaces from a single IceGrid? I want to make a page that mixes information from services running on several separate Icegrids.

    How can I do this in php if I'm only allowed one communicator?

    I think the answer is "you can't", but I'm just making sure.
    * Bruce Karsh
    * Wink Technologies (wink.com)

  2. #2
    mes's Avatar
    mes
    mes is online now ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Hi Bruce,

    As of Ice 3.3b, a PHP script can use the proxy method ice_locator to configure a proxy with a specific locator. In this case, you wouldn't necessarily configure IcePHP to use a default locator, but rather set the locator for each proxy individually. Naturally, this means the PHP script must know (or be able to discover) the proxies for each of the locators it wants to use.

    Take care,
    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 12-03-2010, 05:42 AM
  2. Typo on performance page on live site
    By spsoni in forum Bug Reports
    Replies: 1
    Last Post: 05-20-2008, 04:51 AM
  3. Link error on FAQ page
    By ctennis in forum Bug Reports
    Replies: 1
    Last Post: 07-27-2006, 08:24 AM
  4. Replies: 1
    Last Post: 12-12-2005, 09:49 AM
  5. Small glitch in Connection #3, page 10
    By lstep in forum Comments
    Replies: 2
    Last Post: 06-29-2005, 02:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •