How to set a domain in a session cookie created by classic ASP?
I use 2 URLs for my site, www.example.com and shop.example.com, and I need a session cookie that is sent to both.
You must install it:
Response.Cookies("YourCookieName").domain = ".example.com"
Pay attention to the host "."
Source: https://habr.com/ru/post/1754716/More articles:Choosing a design for working with high-performance files - performanceHow to disable web services running Visual Studio - asp.netSubmodules for plugins or for dependencies? - gitFacebook Connect and ASP.NET authentication - sync issue / cookie - cookiesCorrect implementation of the Boyer Moore algorithm - c ++JAXB throws an error when unmarshalling empty attributes int, double or date - javaFacebook Graph API returns an inconsistent number of friends with a Facebook profile - facebookConvert mm / dd / yy to mm / dd / yyyy in PHP - dateOpenXML: replace element to a table in WordprocessingML - c #Tag Categories - vocabularyAll Articles