title: How to get the previous anonymous user id when a user logs in ASP.NET Membership?
body: <p>I'm hoping someone can point me to the right events or methods to hook into to get a user's Anonymous Id (from Context.Request.AnonymousID) before they login in ASP.NET's Membership Providers.  The behavior I have seen is that this value gets sets to the registered/logged-in user's userid after they login.</p>
  
  <p>I have tried setting a cookie in Profile_OnMigrateAnonymous(object sender, ProfileMigrateEventArgs args) on the Global.asax and that does not seem to work.</p>