Re: Adding cookies in a DA method
Re: Adding cookies in a DA method
- Subject: Re: Adding cookies in a DA method
- From: Mark Morris <email@hidden>
- Date: Wed, 18 Oct 2006 23:07:11 -0500
Hi Kieran,
Whatever you're returning from the DA implements WOActionResults, so
you can generateResponse and add the cookies to the resulting
WOResponse object. If you're returning a WOComponent, you could
still use the returnPage.context().response().addCookie(...)
technique before you actually return it.
Regards,
Mark
On Oct 18, 2006, at 10:40 PM, Kieran Kelleher wrote:
Hi,
Adding cookies using context().response().addCookie( ... ) in a
WOComponent is fine, but how do you add a cookie in a
WODirectAction action?
Regards, Kieran
_______________________________________________
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