Re: Getting the App Instance
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