Hello,

  After turning refueNewSessions on, your app won't create new sessions (or 
even attempt to do so, so there's no error to catch) or process DA requests 
without session attached.

  If you want to show an error page, you have to change, on WOMonitor, the 
Redirection URL setting. Click on the Site tab, and change that setting on that 
page. Note that, due to bugs in WO (I suppose it's a bug and not intended 
behavior) the page will only start showing AFTER you had a running instance. 
Before having launched any app instance, the standard black-on-white error page 
will appear.

  Yours

Miguel Arroz

On 2010/04/13, at 17:29, Amedeo Mantica wrote:

> Hello,
> 
> I have a method that calls application().refuseNewSessions(true);
> 
> At this point I wolud like to show for the users who are going to create new 
> sessions a custom error page, so I overrride the WOApplication method:
> 
> handleSessionCreationErrorInContext
> 
> now...
> 
> Instead of having my custom page i got a redirect error on the browser and 
> this in my app log
> 
> DEBUG NSLog  - !!! Request will be REDIRECTED to non-refusing instance
> 
> I'm in development mode, single instance.
> 
> Any suggestions ?
> Thanks
> 
> Amedeo
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com
> 
> This email sent to [email protected]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to