Problem: In our organization we have a home grown single-sign-on app written in c#/.Net2 that has been working for years. We recently found that the app doesn’t work with Outlook Web Access 2010. A few web searches turned up a couple articles from SSO vendors (Novell KB and Citrix KB) that refer to the issue. OWA2010 executes a javascript on submit that adds a cookie called “PBack=0” that if not included in the post will result in an authentication failure.
Question: How can I include a cookie in the Navigate method of SHDocVw.InternetExplorer?
//ie2 is the instance of IE (SHDocVw.InternetExplorer) containing the OWA login page
ie2.Navigate(URLToPostTo, ref vFlags, ref vTarget, ref vPost, ref vHeaders);