• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting HTTP headers for every page in a webapp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Setting HTTP headers for every page in a webapp
      • From: John Andersson <email@hidden>
References: 
 >Setting HTTP headers for every page in a webapp (From: John Andersson <email@hidden>)

  • Prev by Date: Re: Setting HTTP headers for every page in a webapp
  • Next by Date: RE: Setting HTTP headers for every page in a webapp
  • Previous by thread: Re: Setting HTTP headers for every page in a webapp
  • Next by thread: Re: Setting HTTP headers for every page in a webapp
  • Index(es):
    • Date
    • Thread