Win2003 asp.net session and page return method is not working properly

Source: Internet
Author: User

The company bp&it the project team. Since last month's establishment began to develop Bp&it software. This month I started to test my tragic discovery he didn't support the IE11 on my computer. Half a month has not been solved.

Let's first analyze the reason. Home landing page Normal browsing http://hr.bingjun.cc/

After the landing site appears http://hr.bingjun.cc/(F) (0-mej-fnv8v-hwrgi2rohfq_0szjqanmebs5p1dkcehwdx-ttu8taz_h6hvgorbm-tatm4zk_ DCSDO8GVQOXWCOOU4YJIVZIHJ1PC9HKE7W1))/default.aspx

Click any link on any page

Key value

Referer http://hr.bingjun.cc/MyTask/MyTaskPage.aspx

Just 302 http://hr.bingjun.cc/.

To the URL http://hr.bingjun.cc/(F (0-mej-fnv8v-hwrgi2rohfq_0szjqanmebs5p1dkcehwdx-ttu8taz_h6hvgorbm-tatm4zk_ DCSDO8GVQOXWCOOU4YJIVZIHJ1PC9HKE7W1))/default.aspx

Analysis we can find that can be easily found. This is a URL link that uses a cookie-free mode. And the F-head can judge our bp&it. The project team uses forms form validation

And the jump page is a http://hr.bingjun.cc/MyTask/MyTaskPage.aspx without a cookie-free URL of the page so that the loss of the cookie will be more vessels rely on cookies to work session and landing status

Why does the page jump without Cookieurl? I think it's because their code doesn't use the server path "~/" because only the server path asp.net will help us automatically. Cookieurl section to bring

Immediately after discovery ask Bp&it project group why my IE11 cannot use the internal website (answer I am a Microsoft bug)

That's the way it goes. The bug that can cause this problem based on the knowledge I have is that asp.net the IE11 as a cookie-free browser.

Well, that's a lot of solutions, first from the server level.

We know that the ASP.net recognition browser is not a cookie is identified by a library of its own so we can also add something to the library.

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\Browsers

Open this directory to find many of the following files right this is the asp.net used to identify the browser. Open IE.browser

Add a browser configuration node

<browser id= "IE11" parentid= "Mozilla" > <identification> <useragent match= "trident\/7.0"; RV: (? ' Version ' (? ') Major ' \d+) (\. Minor ' \d+)? (?' Letters ' \w*)) (? ') Extra ' [^]]*) "/> <useragent nonmatch=" Iemobile "/> </identification> <capture&
        Gt <useragent match= "trident/(? ')              Layoutversion ' \d+) "/> </capture> <capabilities> <capability name=" Browser "  Value= "IE"/> <capability name= "layoutengine" value= "Trident"/> <capability Name= "Layoutengineversion" value= "${layoutversion}"/> <capability name= "Extra" value=               Xtra} "/> <capability name= iscolor" value= "true"/> <capability "name="
         Value= "${letters}"/> <capability name= "MajorVersion" value= "${major}"/>   <capability name= "MinorVersion"      Value= "${minor}"/> <capability name= "screenbitdepth" value= "8"/> <capability N  Ame= "type" value= "Ie${major}"/> <capability name= "version" Value= "${version}" /> </capabilities> </browser>

This is the problem with all the sites on the v4.0.30319 version of the server.

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/OS/xp/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.