>> The property AccessControlAllowCredentials didn't show in code completion, hence the reason for my post.
my mistake.
It's in the Header group, but not the NetWebServerGroup group (for other reasons).
So the best way to tweak the header in general is to embed in the WebServer, SetDefaultHeaderDetails method, after the parent call. the cood looks something like;
self.HeaderDetails.AccessControlAllowOrigin = ''
self.HeaderDetails.AccessControlAllowCredentials = ''
There are a bunch of access headers you can set here;
self.HeaderDetails.AccessControlAllowOrigin = ''
self.HeaderDetails.AccessControlAllowCredentials = ''
self.HeaderDetails.AccessControlAllowMethods = ''
self.HeaderDetails.AccessControlAllowHeaders = ''
self.HeaderDetails.AccessControlExposeHeaders = ''
self.HeaderDetails.AccessControlMaxAge = ''
If the template exposes a setting then it will _override_ any code you set here. (But the template does not currently have settings for all these fields.)
thanks for the links.
cheers
Bruce