Upgrading to IIS7 stopped Firefox from receiving cookies?

Our website has been using IIS6 for a long time. We are testing on IE8, Firefox and Chrome. All browsers worked fine.

We recently upgraded to IIS7 and Chrome and IE8 continue to work fine, but Firefox can't seem to get the ASP session cookie. As a result, when our code checks the Session [] object, we don't see anything, we think that the user is logged out, and the site is resetting your session.

Does anyone know why upgrading to IIS7 will result in this behavior in Firefox? We have: 1) Returned the application pool back to classic mode (no changes); 2) added a dummy value in the Global.asax object (no changes); and 3) changed the web.config file from "authentication cookieless = autodetect" to "cookieless = usercookie" and back (no change).

+2


a source to share


2 answers


Here's ours, works great for us in an integrated ..

    <authentication mode="Forms">
        <forms cookieless="UseDeviceProfile"
               defaultUrl="~/Default.aspx"
               enableCrossAppRedirects="true"
               loginUrl="~/Login.aspx"
               name=".ASPXAUTH"
               path="/"
               protection="All"
               requireSSL="false"
               slidingExpiration="true"
               timeout="10080"/>
    </authentication>

      



My web.config is pretty red, so if you want more customization, you know, and I'll share, but first thought:

What role services are installed in IIS7? You can find this in the Server Manager window, substitute server first, about the fourth section from the right on the IIS tab.

0


a source


Sounds like a browser issue where Firefox seems to be unable to handle cookies.

The symptom is endless logins as the Authenication cookie is not set, sending the user back to the login page.



In .net I think it was moved to an XML file.

+1


a source







All Articles