【发布时间】:2014-10-14 16:08:14
【问题描述】:
如果会话 ID 用于 Bing 地图,则可减少可计费事务。
详情见此链接; http://msdn.microsoft.com/en-GB/library/ff859477.aspx
You must use the Bing Maps Key that you used to load the map control to request a session ID. This session ID is only valid for the map control session. For the web-based Bing Maps AJAX v7 and Silverlight controls, a session begins with the load of the map into a user’s browser and ends when the browser is closed or the user moves to a different page.
我不确定“当浏览器关闭或用户移动到其他页面时会话结束”。
如果我错了,请纠正我,我认为密码保护网站会话在用户注销时结束。举个例子;在我的 asp.net 页面上,首先我想在一张地图上显示 20 个针点或位置,这取决于数据集结果,然后我想在一张地图上显示 10 个结果。我可以在我第一次发出请求时将会话 ID 保存在用户会话中,并一次又一次地使用它,这会将事务减少到 1。
每次关闭地图窗口时是否需要使用新的会话 ID?我正在考虑在新窗口上显示地图。
【问题讨论】: