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 protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
