Help with passing headers in the WORedirect
Help with passing headers in the WORedirect
- Subject: Help with passing headers in the WORedirect
- From: Freddie Tilley <email@hidden>
- Date: Thu, 12 Feb 2009 18:55:37 +0100
I wish to pass some header variables to a redirect but I'm having some
problems
I'm trying to set the header as follows (I found this somewhere)
WORedirect redirect = new WORedirect(this.context());
redirect.setUrl("http://someurl.nl");
WOResponse r = redirect.generateResponse();
r.setHeader("Value","Key");
redirect.appendToResponse(r, context());
But this does not appear to work. Is there a way to call the
call the destination page with custom headers?
thanks!
Freddie Tilley
_______________________________________________
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