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 8062169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:34:41+00:00 2026-06-05T10:34:41+00:00

I have 2 websites (.net2 web-forms and the other one is .net4 mvc3) which

  • 0

I have 2 websites (.net2 web-forms and the other one is .net4 mvc3) which are configured for the ASP.NET Single Sign-on feature. The web.config’s machineKey element has the same attributes in both websites:

  • validationKey=”some key”
  • decryptionKey=”some key”
  • validation=”SHA1″
  • decryption=”AES”

Both websites share the same domain. web.config authentication -> forms has the same “name” attribute which is the name of the authentication cookie. Single sign-on doesn’t work for me, websites simply overwrite each other’s cookie with a different value.

This is on the live server. On staging exact same code is working fine and I’m having the single sign-on there.

I already spent a day on the issue, I think I checked everything I could and I’m almost sure it’s not the code, but rather something with the server. Please help with your ideas and suggestions.

  • 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-06-05T10:34:42+00:00Added an answer on June 5, 2026 at 10:34 am

    I finally got it working after converting .NET2 ASP.NET WebForms website into .NET4. No any changes other than the default Visual Studio 2010 conversion wizard changes in the web.config were made. Which means that despite having all the machineKey attributes matching the authentication cookie decryption implementation is somewhat different in .NET2 and .NET4.

    I hope this will help someone else.

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

Sidebar

Related Questions

I have developed a business index which combines ecommerce websites.(in asp.net2.0+c#) I'm looking for
I have about 10-12 websites (main site is classic ASP, others are ASP.NET 2).
One of the other developers at my company wrote a .NET 2.0 web site.
I have a this asp.net page which upon first time load: 1: Make a
I have a asp.net 2.0 web site with WCF service hosted inside it running
I have developed my asp.net website in .NET 2.0 in other system where it
I have an ASP.NET 2.0 legacy website with me, in which I have to
I have an asp.net 2.0 web application that will run on the same web
I have a ASP.NET Website (.NET 2 IIS 5.1) running on machine A with
So I have this ASP.Net 2.0 website that uses functions contained within a JS

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.