Haha, fair point. I don't believe there's anything build into Group Policy (Or even Group Policy Preferences) to do this, but obviously that's how the answer will be deployed.
I'll try and give more details without giving away specific info as it's niche and I don't want to be Googled.
Basically, the customers users are using www.sitea.com but it doesn't seem to play nicely with some of the other technology we use. We've exhausted all other technical avenues and while we've found a few workarounds the only way to make it perform properly is by disabling "Feature A" on the website.
This has no effect for the user (They wouldn't even notice), but it's very convoluted and they would need to do it on a regular basis as the cookie doesn't last long. Additionally, their network is set up in such a way that cookies aren't persistent.
We have absolutely no influence over www.sitea.com and they would just laugh me off the phone. (They're huge, and they will not care!)
[DllImport("ieframe.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern bool IESetProtectedModeCookie(string url, string name, string data, int flags); public static bool SetWinINETCookieString() { return IESetProtectedModeCookie("http://url.co.uk", "name", "data=blah; expires = Sat,01-Jan-2012 00:00:00 GMT; path=/", 0x10); }
class Program { [DllImport("ieframe.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern bool IESetProtectedModeCookie(string url, string name, string data, int flags); [DllImport("wininet.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern bool InternetSetCookie(string url, string name, string data); static void Main(string[] args) { IESetProtectedModeCookie("http://url.co.uk", "Name", "data; expires = Sat,01-Jan-2012 00:00:00 GMT; path=/", 0); IESetProtectedModeCookie("http://url.co.uk", "Name", "data; expires = Sat,01-Jan-2012 00:00:00 GMT; path=/", 0x10); InternetSetCookie("http://url.co.uk", "Name", "data; expires = Sat,01-Jan-2012 00:00:00 GMT; path=/"); } }