Re: How to insert Instanze Number into String?
Re: How to insert Instanze Number into String?
- Subject: Re: How to insert Instanze Number into String?
- From: Chuck Hill <email@hidden>
- Date: Wed, 5 Oct 2005 12:33:47 -0700
context().request().applicationNumber()
Returns a String containing the part of the request's URI indicating
the specific application instance this request is intended for. This
attribute is -1 if the request can be handled by any instance of the
application, which is always the case for the first request in a
session, or for applications contacted using direct connect.
On Oct 5, 2005, at 12:21 PM, Ute Hoffmann wrote:
Hi,
I need to build Direct Actions as Stings inside of a WoComponent
and these direct actions need to include the instance number where
they are to be sent to (to make suire the session is kept)
... Howcan I obtain the Instance number and add it to my string. I
found something in the api under request, but I cannot use it like
this: somePart+this.request.instanzeNumber()+some more, can I,
because when I convĀ“catenate the string in the Component it has no
idea about the request, right?
So is there a way to get ta this number? Or have I to read that out
at login and then save the number in the session object? Would that
work?
Thanks for some input.
Regards,
Ute
_______________________________________________
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