In ASP.NET you can seamlessly rename cookies on the fly with the help the PreSendRequestHeaders and BeginRequest events of the HttpApplication class.
Both events call EventArgs delegates, with the sender object as a HttpApplication instance.
///