Here's what I want to do. I have a program that many client devices communicate with (hundreds). Unfortunately, sometimes when I add new features, it requires me to make breaking changes that affect these clients. So typically we have to update the clients and the server at the same time.
So I had an idea in which I will just run every version of the app at the same time and have the web server understand and thus proxy the requests and responses. I started off with some code I found here at the codeproject site: http://www.codeproject.com/KB/IP/reverseproxy.aspx. This works okay, however; when I run it against my program, the session does not seem to work. To clarify, the session is not working in the original program that the proxy is reading to.
From what I understand, this proxy proxies cookie requests, gets, and posts. Does anyone have any ideas on what I can do to improve this?
Now, I know some folks will want to suggest using URL rewrite or Application Routing, however; I need to make decisions on what page to present based on the content of the posts/gets and not just the URL.
Additional information: I'm using IIS6 for prod on Windows 2003 servers.