Click here to Skip to main content
15,069,133 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have two different web project (Project-A & Project-B) in a same solution.
Both project having seperate login form to enter into their application.
But In my case, If any of my customer log-in into project-A from there he can able to Login to Project-B (by clicking a button from Project-A) without giving the username and password of Project-B.
Note:
1. Customer will have same user name and password for both the project.
2. Project-B using asp:Login form.
Posted

Hello,

Specifying a single authentication key is the solution. For each ASP.NET application, you have to use the same <machinekey> element in the web.config, as follows:

As below :

<machinekey>
validationKey="21F090935F6E49C2C797F69BBAAD8402ABD2EE0B667A8B44EA7DD4374267A75D"
decryptionKey="ABAA84D7EC4BB56D75D217CECFFB9628809BDB8BF91CFCD64568A145BE59719F"
validation="SHA1"
decryption="AES"/>
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900