Hello, I have a simple WCF service using basicHttpBinding using basic authentication. Everything works properly except I've noticed while monitoring traffic that each time a message is sent - it's never sending with the Authorization: Basic XXXXXXXXX header until the server requests it. So each request requires 2 messages, 1 which returns a 401 and one which 200. So I have basically 2 times the traffic and 2 times the normal warnings that I'm watching for on my firewall.
I understand that the first message should not send the authentication credentials, however each message afterwards should. This same code works fine so long as I don't close the service on Windows, not sure if anyone knows of a way to always have the WCF service send with credentials on each request after the first? I know on old asmx services you could use a Preauthenticate = true property - not sure if something like this is possible with Monotouch? Thanks. -- View this message in context: http://monotouch.2284126.n4.nabble.com/WCF-Basic-Authentication-Sending-401-Requests-Each-Time-tp4656315.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
