Atlanta ASP.Net MVC Developer/ Architect
ASP.Net Cross Application Cookie Sharing
Several companies running ASP.Net experience this problem. They have several web applications and need common authentication. Out of the box ASP.Net makes the user login in to each different application. I know of several organizations where this was a frustration to hundreds if not thousands of user.
Luckily the fix is trivial. Open up machine.config (beg, grovel, kiss the feet of your sys-admin if necessary) and make this change:
Original machine.config entry:
To enable sharing of cookie authentication:
<machineKey validationKey=”AutoGenerate” decryptionKey=”AutoGenerate” validation=”SHA1″/>
| Print article | This entry was posted by Paul Lockwood on August 8, 2004 at 8:56 am, and is filed under Development (General). Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |