Those cookies can be ignored/deleted. I believe they mostly come through as Bing Maps uses the same infrastructure as bing.com so that it can easily scale.
Bing Map - Need details about bing.com cookies
Hi Team,
We are using bing map in one of our application where we are having below subset of code present where we are passing keyBing and loading the map control.
function GetMap() {
try {
searchManager = null;
map = new Microsoft.Maps.Map("#mapDiv", {
credentials: keyBing,
zoom: 3,
center: new Microsoft.Maps.Location(40.347, -94.218),
mapTypeId: Microsoft.Maps.MapTypeId.aerial
});
pinLayer = new Microsoft.Maps.Layer();
map.layers.insert(pinLayer);
pinInfobox = new Microsoft.Maps.Infobox(new Microsoft.Maps.Location(0, 0), { visible: false, maxWidth: 270, maxHeight: 80 });
pinInfobox.setMap(map);
}
catch (err) { }
}
At application runtime, we found that there are few cookies which was created by “bing.com”.
Could you please let us know if any of these cookies are strictly necessary for bing map to work or these cookies can be ignored/deleted?
Also please let us know possible ways to remove these cookies from our application runtime.
Name Value Domain
_SS SID=XXXXX .bing.com
USRLOC HS=X .bing.com
SUID M .bing.com
SRCHUSR DOB=XXXXXX .bing.com
SRCHUID V=X&GUID=XXXXXXXXXX&dmnchg=X .bing.com
SRCHHPGUSR SRCHLANG=XX .bing.com
SRCHD AF=XXXXXX .bing.com
MUID XXXXXXXX .bing.com
Thanks & Regards
-
rbrundritt 15,231 Reputation points Microsoft Employee
2023-01-27T16:28:34.5966667+00:00
2 additional answers
Sort by: Most helpful
-
SorabhJain-0549 30 Reputation points
2023-01-31T09:11:20.68+00:00 Thanks rbrundritt for your help, Actually we have done with the development and deployed till Production as well so we are avoiding to switch to Azure Maps.
Thanks IoTGirl,
Yes changing the URL from www.bing.com to sdk.virtualearth.net is working for us, after this, we are not getting bing.com cookies anymore.Thanks a lot for your help in this. :)
-
SorabhJain-0549 30 Reputation points
2023-01-31T17:52:51.9466667+00:00 Thanks a lot for the solution :)