Share server cookie among applications

Jul 4, 2010 at 8:48 PM
Hi, I am using this awesome library to implement a single sign-on authentication mechanism. I was wondering is there any way to share some object between web applications (and thus application pools)? Thanks in advance. Yannis
Dec 8, 2010 at 10:16 AM

Hi Yannis,

Sorry if I'm extremely late for this reply.

Yes I guess you can use the Server Cookie implementation for this. You can specify a common folder path for all you applications to store the Server Cookies and thus all key/value pairs used by one application will be accessible by the other provided the user has signed in using the same credentials. You might also need to specify a fixed machineKey value in the web.config files under each application to ensure encryption compatibility. Please let me know if this is still relevant to you and I'll extend my reply further on.