Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 05-13-2008
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)
Reply With Quote
  #2 (permalink)  
Old 05-13-2008
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 957
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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 .Ice in php cesartovic Help Center 11 12-20-2007 03:30 AM
Link error on FAQ page ctennis Bug Reports 1 07-27-2006 08:24 AM
Ice Php mahmoodlebbai Help Center 7 06-22-2006 05:17 AM
About creating a new property for Evictor's page size. kent Comments 1 12-12-2005 09:49 AM
Small glitch in Connection #3, page 10 lstep Comments 2 06-29-2005 02:30 AM


All times are GMT -4. The time now is 07:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.