Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3787544
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:51:27+00:00 2026-05-19T11:51:27+00:00

We recently updated a site from Classic ASP to ASP.Net 3.5. The old site

  • 0

We recently updated a site from Classic ASP to ASP.Net 3.5.

The old site used a login system based on cookies.
It would remember the users login information if a checkbox was selected when they first logged in. This would of course be done in a cookie.

We then upgraded the site Using ASP.net.
We transferred the old users to the built in ASP.net Membership Authentication.

It works great except for a really strange occurrence.
When a user logs in to the site, but had the old cookie for the site which stored the login information, the ASP.net Authentication seems to crash.

There is no error message, no information of any kind.

The user tries to login, gets no error message, just gets transfered back to the login page.

It seems to be looking at the old cookie and just doesn’t know what to do.

The domain names of the old site and the new site are the same.

This does not occur for new users who have never been to the old site.

If an old site user clears out his cookies in his browser he can log in fine and the error never happens again.

But we have 5000 users, we can’t tell all of them to clear out their cookies.

I tried changing the setting in the following line of code in my web.config.

<authentication mode="Forms">
  <forms cookieless="UseCookies" loginUrl="~\User\Login.aspx" defaultUrl="~\Default.aspx" timeout="26280000"  />
</authentication>

But I’m not sure if it helped or not.

Any assistance would be greatly appreciated.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:51:28+00:00Added an answer on May 19, 2026 at 11:51 am

    With forms authentication, your login is controlled by forms authentication cookie. So I don’t understand how is your old cookie interfering with FAC?

    In case you are storing some value in your custom cookie, one way would be change the name of the cookie in your new code. i.e. if the code is creating “CookieA”, the same name as old application, change it to “CookieB” and same while reading.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a bunch of URLs from an old site that I recently updated
I recently updated an application from VS2003 to VS2008 and I knew I would
I recently updated from MVC4 beta to the RC and have encountered a small
I recently updated a rails app from 3.0.4 to 3.2.4 and I have a
I recently updated jasperreport version from 3.5.2 to 4.0.2 and noticed a few changes
Okie dokie - IT recently updated my system to lion, fresh install. I followed
I've recently updated my rails app from rails 2.3.3 to 2.3.8 and faced such
When users register on my site I send them activation mails. I recently updated
I recently tried to import a bunch of blog posts from an old blog
I've recently inherited a ASP.NET MVC 4 code base. One problem I noted was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.