Re: Setting HTTP headers for every page in a webapp
Re: Setting HTTP headers for every page in a webapp
- Subject: Re: Setting HTTP headers for every page in a webapp
- From: Kaj Hejer <email@hidden>
- Date: Tue, 7 Dec 2004 16:46:52 +0100
Hi!
One solution is to make a superclass that all you components extends.
Here you can put what you describe + f.x. securitystuff.
We find it usefull to have our own subclass.
If you use any other componentclasses then WOComponent like f.x.
WOLongResponsePage you have to take care of them to (f.x. subclass
WOLongResponsePage (I don't think I have tried that)).
You could also override appendToResponse in Session or in Application
and the care of setting the extra headers here. I guess this is the
best solution.
-Kaj :)
On 7. des 2004, at 16.37, John Andersson wrote:
Hi list!
Where is the best place to set a HTTP header so it gets added on every
page on a system?
I want to add a P3P-header to make PC-Explorer tolerate
session-cookies when a WO page is loaded in a frame from a different
site.
Do I have to override "appendToResponse" in every page component?
/John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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