Shailesh Kumar wrote:
I have 2 different zope applications running (on different machines) and
they would be talking to each other, one is a master application and there
may be multiple instances of the other one (on different machines). I need
the port number information for registing one with
Shailesh Kumar wrote:
Thanx for the hint. I still don't know how to programmatically access the
event log. will try to figure it out.
Why do you need to know programmatically?
Chris
--
Simplistix - Content Management, Zope Python Consulting
- http://www.simplistix.co.uk
I have 2 different zope applications running (on different machines) and
they would be talking to each other, one is a master application and there
may be multiple instances of the other one (on different machines). I need
the port number information for registing one with another
Hi,
Is it possible for the application code to figure out the port number on
which zope is running? What is the suitable api for that?
With regards,
-shailesh
___
Zope3-users mailing list
Zope3-users@zope.org
Hi Shailesh,
try request.get('SERVER_PORT').
Cheers
-Tom
Shailesh Kumar wrote:
Hi,
Is it possible for the application code to figure out the port number
on which zope is running? What is the suitable api for that?
With regards,
-shailesh
Shailesh Kumar wrote:
Thanx Tom, but I was looking for the general case, not in the context of a
request. Like say during application startup I want to know the port
number.
Is it possible?
This is surely in the event log, why don't you look there?
Chris
--
Simplistix - Content
Thanx for the hint. I still don't know how to programmatically access the
event log. will try to figure it out.
With regards,
-shailesh
On 11/28/06, Chris Withers [EMAIL PROTECTED] wrote:
Shailesh Kumar wrote:
Thanx Tom, but I was looking for the general case, not in the context
of a