Dynamically Selecting Instances - Best Way?
Dynamically Selecting Instances - Best Way?
- Subject: Dynamically Selecting Instances - Best Way?
- From: "Jonathan Fleming" <email@hidden>
- Date: Thu, 10 Jun 2004 13:18:22 +0100
How do I go about finding an active instance or redirecting to one that is
running if the instance an app is trying to use is not working, times-out or
something similar.
In my app I code a static method to set up a url that returns to a direct
action when the app needs to remind a user to register, however, on this
occasion the instance (always on 1) that it was set up on was down and of
course the link in the user's email sent them to a 404 page, so how can I
prepare the app to look for other instances if the main timesout or if down
or something?
This is an example of the link it sets up (note that there is no instance
number so the first one is always used - no. 1):
<a
href="http://www.myDomain.com/cgi-bin/WebObjects.dll/TMI.woa/wa/registerNewUser">Click
this link to setup your new account</a>
Or is there a simpler way to get to the directAction ...registerNewUser
Thanks for any help
Jonathan :^)
_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.