Asp.net 4.0 roaming 3 cookie incompatibility

Source: Internet
Author: User

Asp tutorial. net 4.0 roaming 3 cookie incompatibility

<Sessionstate mode = "inproc" stateconnectionstring = "tcpip = 127.0.0.1: 42424" sqlconnectionstring = "data source = 10.168.0.73; trusted_connection = yes" cookieless = "autodetect" timeout = "50"/>

The value of mode can be "stateserver" or "inproc". In the inproc mode, you update a dll to the bin directory. With the restart of the web application, sessions will also be cleared and lost. In stateserver mode, Sessions will be saved to an independent process. Sessions of this application will not be lost unless the entire iis is restarted.


Solution: change cookieless = "autodetect" to cookieless = "false ".

It can be seen that the information in the output header of current versions of travel 3 is special, not standard information, which leads to. net 4.0 failure to correctly judge whether cookies are supported

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.