Ayse 98
Ayse 98

Reputation: 65

How does single session logic work on multiple sites? Asp.NET MVC 5 (Google, Gmail, Calendar)

For example, a single web engine serves multiple domains.

And it provides various services in different domain names. For example, post, calendar, blog, video publishing service ...

For example, when I sign in to a single master domain, how do I know it with other domains?

Session ID? Cookie? How do I share a session? With which method?

Thank you...

Upvotes: 0

Views: 43

Answers (1)

Niek
Niek

Reputation: 331

Usually you create multiple listeners on your webserver and assign (sub)domain to them. In IIS this can be applications with bindings and in Nginx you can create Vhost for this purpose.

Cheers!

Upvotes: 1

Related Questions