Re: Obtaining Application Instance Number
Re: Obtaining Application Instance Number
- Subject: Re: Obtaining Application Instance Number
- From: Chuck Hill <email@hidden>
- Date: Tue, 25 Jul 2006 13:48:45 -0700
On Jul 25, 2006, at 7:43 AM, Robert Campbell wrote
Thanks for the info, Ideally I would like to get the id when the
application is instantiated rather than in response to a request,
but its a useful call and I may be able work that way round.
What you want is not how it works. An application does not know it's
number, it takes it from the request. Matching up instance numbers
to ports is the job of wotaskd / the woadaptor.
Chuck
On 25 Jul 2006, at 12:05, Mike Schrag wrote:
context.applicationNumber()
On Jul 25, 2006, at 5:29 AM, Robert Campbell wrote:
Hi All,
Does anyone know how I can get the application instance number? -
I need to programmatically construct URLs
that contain the application instance number for load balancing
e.g. for the URL http://www.mydomain.com/cgi-bin/WebObjects/
myapp.woa/1/wa/nextPage?
I need to insert the application instance number between "http://
www.mydomain.com/cgi-bin/WebObjects/myapp.woa/" and "/wa/nextPage?"
I've gone through all the documentation and can obtain just about
every other application property but can't get the instance ID.
Any gurus out there know how it can be done?
Rob.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40synapticstorm.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden