The TabId that's being passed in is a HomeTabId property in the DotNetNuke.Entities.Portals
PortalInfo object. Here's what we have, which worked prior to the upgrade:
PortalInfo objPortal = objPortalController.GetPortal(objUser.PortalID);
Response.Redirect(Globals.NavigateURL(objPortal.HomeTabId));
I've verified that objPortal.HomeTabId is the TabId for the other portal, however the NavigateUrl() method is returning the URL for the same portal. Users are logging in at this address:
http://dev.MyWebsite.com/PortalLogin/Home/tabid/4603/Default.aspx
Code called, where HomeTabId = 3244:
Response.Redirect(Globals.NavigateURL(objPortal.HomeTabId));
...and are being redirected back to the same portal
http://dev.MyWebsite.com/PortalLogin/Home.aspx
I'm wondering if there's another way to redirect users to the correct portal with a more "friendly" Url (ie one that uses Portal name rather than a querystring)?
Thanks again William, I appreciate all the research!