Maintaining client sessions across subdomains on the same host #2952
Answered
by
karpetrosyan
aymanimtyaz-goswift
asked this question in
Ideas
-
Is this something that is possible? From my basic understanding of TCP and HTTP, subdomains have the same host and as such, the underlying TCP connection can be reused across subdomains. |
Beta Was this translation helpful? Give feedback.
Answered by
karpetrosyan
Nov 21, 2023
Replies: 1 comment 1 reply
-
Subdomains do not share the same host. The owner of domain X also owns all of its subdomains, but they can refer to different IPs, so you cannot use the same TCP connection. Maybe you are talking about reusing the connections on the same host, which is supported by httpx. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
aymanimtyaz-goswift
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Subdomains do not share the same host. The owner of domain X also owns all of its subdomains, but they can refer to different IPs, so you cannot use the same TCP connection.
Maybe you are talking about reusing the connections on the same host, which is supported by httpx.