may be this piece code I made correct?
I override appendToResponse methon in Session
It works, but I don't know if it is correct..
Can you confirm?
Thanks
Amedeo
public void appendToResponse(WOResponse response, WOContext context) {
if ( this.browser().isIE() ) {
INPGNotSupportedBrowser nextPage = new
INPGNotSupportedBrowser(context);
response.setContent(
nextPage.generateResponse().content() );
}
super.appendToResponse(response, context);
}
On 03/nov/08, at 18:31, Amedeo Mantica wrote:
I have this need,
I can do it in Java script, but I prefer a server side solutions,
I have a boolean flag in my session, if this flag become false (or
true) i need to switch all my requests outsite my woapplcation (a
redirect)
pratically I have to put a redirect in my session. I suppose to do
it via the awake or appendToResponse methods... I'm looking at docs
but at the moment I'm unable to do it, any hint?
Thank You
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/amedeomailing%40insigno.it
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]