FIX: ASP.NET 4 SiteMapProvider URLs Incorrect in Cookieless Mode

Article translations Article translations
Article ID: 2472263 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • In an ASP.NET -based site, you use the SiteMapProvider object together with navigation controls.
  • You use cookieless sessions or cookieless forms authentication on this site.
  • A user visits the site and accesses a link on a navigation control.

In this scenario, the user may see that their session or forms authentication identity is changed to a different user.

CAUSE

This problem occurs because the URL table for the SiteMapProvider object is built when the navigation controls are first data bound. The URL table is then cached for future use in later requests. When the website is configured to run with cookieless sessions or cookieless forms authentication, the session ID or forms authentication ticket for the first user to access the site is included in the cached URLs. Therefore, other users will switch to the first user’s session ID or forms authentication identity when they click a link in the navigation controls.

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You must have Microsoft .NET Framework 4 installed to apply this hotfix.

Restart information

You may have to restart the computer after you apply this hotfix if any affected files are being used when you install this hotfix. We recommend that you shut down all ASP.NET websites before you apply this hotfix to avoid having to restart the computer.

Replacement information

This hotfix does not replace a previously-released hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

For all supported x86-based versions of Windows XP, of Windows Server 2003, of Windows Vista, of Windows Server 2008, of Windows 7, and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe4.0.30319.43332,59215-Feb-201111:19x86
Setup.dll10.0.30319.433295,24815-Feb-201111:19x86
Setupengine.dll10.0.30319.433809,30415-Feb-201111:19x86
Setupui.exe10.0.30319.43378,15215-Feb-201111:19x86
System.web.dll4.0.30319.4335,184,33615-Feb-201111:19x86
System.web.extensions.dll4.0.30319.4331,836,90415-Feb-201111:19x86
Webengine.dll4.0.30319.43314,16015-Feb-201111:19x86
Webengine4.dll4.0.30319.433495,44015-Feb-201111:19x86
For all supported x64-based versions of Windows XP, of Windows Server 2003, of Windows Vista, of Windows Server 2008, of Windows 7, and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe4.0.30319.43332,59215-Feb-201111:19x86
Aspnet_wp.exe4.0.30319.43340,78415-Feb-201111:45x64
Setup.dll10.0.30319.433295,24815-Feb-201111:19x86
Setupengine.dll10.0.30319.433809,30415-Feb-201111:19x86
Setupui.exe10.0.30319.43378,15215-Feb-201111:19x86
System.web.dll4.0.30319.4335,184,33615-Feb-201111:19x86
System.web.dll4.0.30319.4335,154,64015-Feb-201111:45x64
System.web.extensions.dll4.0.30319.4331,836,90415-Feb-201111:19x86
Webengine.dll4.0.30319.43314,16015-Feb-201111:19x86
Webengine.dll4.0.30319.43315,69615-Feb-201111:45x64
Webengine4.dll4.0.30319.433495,44015-Feb-201111:19x86
Webengine4.dll4.0.30319.433720,72015-Feb-201111:45x64
For all supported IA-64-based versions of Windows Server 2003, of Windows Server 2008, and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe4.0.30319.43332,59215-Feb-201111:19x86
Aspnet_wp.exe4.0.30319.43380,20815-Feb-201112:12IA-64
Setup.dll10.0.30319.433295,24815-Feb-201111:19x86
Setupengine.dll10.0.30319.433809,30415-Feb-201111:19x86
Setupui.exe10.0.30319.43378,15215-Feb-201111:19x86
System.web.dll4.0.30319.4335,184,33615-Feb-201111:19x86
System.web.dll4.0.30319.4334,770,12815-Feb-201112:12IA-64
System.web.extensions.dll4.0.30319.4331,836,90415-Feb-201111:19x86
Webengine.dll4.0.30319.43314,16015-Feb-201111:19x86
Webengine.dll4.0.30319.43325,42415-Feb-201112:12IA-64
Webengine4.dll4.0.30319.433495,44015-Feb-201111:19x86
Webengine4.dll4.0.30319.4331,340,75215-Feb-201112:12IA-64
Note Because of file dependencies, the most recent fix that contains these files may also contain additional files.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about the SiteMapProvider class, visit the following Microsoft Developer Network (MSDN) website:
SiteMapProvider Class
For more information about ASP.NET site navigation, visit the following MSDN website:
ASP.NET Site Navigation
For more information about understanding the forms authentication ticket and cookie, click the following article number to view the following article in the Microsoft Knowledge Base:
910443 Understanding the Forms Authentication Ticket and Cookie

Properties

Article ID: 2472263 - Last Review: November 4, 2011 - Revision: 4.1
APPLIES TO
  • Microsoft .NET Framework 4
  • Microsoft ASP.NET 4
Keywords: 
kbqfe kbhotfixserver kbfix kbautohotfix kbexpertiseinter kbprb kbsurveynew kbbug KB2472263

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com