• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to insert Instanze Number into String?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >How to insert Instanze Number into String? (From: Ute Hoffmann <email@hidden>)

  • Prev by Date: How to insert Instanze Number into String?
  • Next by Date: Instance Number {solved}
  • Previous by thread: How to insert Instanze Number into String?
  • Next by thread: Instance Number {solved}
  • Index(es):
    • Date
    • Thread