I am working on a multi-tenant ASP.NET MVC application.
So far we have
However, we will need to set TempData (session uses) and set up authentication cookies.
We request that HTTP contacts are being used to store some objects. Tip:
- A tenant can have multiple URLs (tenant1.myapp.com or mycustomdomain.com)
- Authentication cookies should not be shared by tenants. >
- Ideally, a tenant's authentication cookie must be shared with one of their URLs
Is the session domain aware? It seems like.
Can I set more than one domain on the authentication cookie?
I would appreciate the advice on whatever can be caught. In fact, I need to understand who needs a split for each tenant (I have already cached for file system, database and per tenant).
thanks
Ben
what session Domain is known?
By default session is tracked by cookies and since cookies are restricted to the same domain, session is not only domain information but also application-aware which means that If you have two apps on the same domain, they will not share the session.
Can I set up multiple domains on the authentication cookie?
No cookies can be shared between domains, but unlike sessions, you can get between multiple applications on the same domain (the
domain attribute on the web < Code> by setting the top-level domain in the & lt; form & gt; tag). This allows a single sign between the applications on the same domain. If you want to get a single sign between applications on different domains, you'll need them.
Comments
Post a Comment