How do I set the domain on the session cookie generated by classic ASP?
I'm using 2 urls for my site, www.example.com and shop.example.com and I need the session cookie sent to both.
How do I set the domain on the session cookie generated by classic ASP?
I'm using 2 urls for my site, www.example.com and shop.example.com and I need the session cookie sent to both.
You should set it to: Response.Cookies("YourCookieName").domain = ".example.com"
Note the leading "."