Internet Session, Single Application (ASP.NET)

How can I save a session between domains? They all belong to the same asp.net application.

+3
source share
2 answers

I do not think you can do this without a special implementation. The session identifier is stored in a cookie in the browser and sent back to the server with each request. This is how the server knows who you are and what session object you own. When you switch domains, the browser no longer sends this cookie (the cookie is sent to the domain, so the server will never see the original session cookie and therefore will not create a new session cookie for the new domain).

, , , , .

+1

, , -, , , - -, w3wp.exe. web.config , outproc, inproc, , .

0

Source: https://habr.com/ru/post/1704969/


All Articles