• 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: Getting the App Instance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the App Instance


  • Subject: Re: Getting the App Instance
  • From: Bogdan Zlatanov <email@hidden>
  • Date: Sat, 02 Feb 2013 18:26:13 +0100

Hi Ted,

WORequest -> applicationNumber() should have what you're looking for.

Cheers

On 2 Feb 2013, at 18:14, Ted Archibald wrote:

> Is there a way to get the app instance number (i.e. /cgi-bin/WebObjects/AppName/2) in the app?  I want to have separate cookies for each session on each instance, but to do so I need to know the instance number for the cookie domain.
>
> I know you could set a property in each instance in WOMonitor, but I was wondering if there was a simple way to do it java without setting properties.
> _______________________________________________
> 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


 _______________________________________________
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

  • Follow-Ups:
    • Re: Getting the App Instance
      • From: Ted Archibald <email@hidden>
References: 
 >Getting the App Instance (From: Ted Archibald <email@hidden>)

  • Prev by Date: Getting the App Instance
  • Next by Date: Re: Getting the App Instance
  • Previous by thread: Getting the App Instance
  • Next by thread: Re: Getting the App Instance
  • Index(es):
    • Date
    • Thread