Yes, you can. Use:
Response.Cookies("UID").Domain = ".myserver.com"
More Related Contents:
- Can some hacker steal a web browser cookie from a user and login with that name on a web site?
- Asp.Net Forms Authentication when using iPhone UIWebView
- Chrome localhost cookie not being set
- How can I create persistent cookies in ASP.NET?
- Preventing CSRF with the same-site cookie attribute
- Sharing cookies across different domains and different applications (classic ASP and ASP.NET)
- asp.net cookies, authentication and session timeouts
- set cookie to expire at end of session? asp.net
- Cache VS Session VS cookies?
- Can I change the FormsAuthentication cookie name?
- Too many cookies OpenIdConnect.nonce cause error page “Bad Request – Request Too Long”
- Web authentication state – Session vs Cookie?
- ASP.NET Session Cookies – specifying the base domain
- How is HttpOnly get set for ASP.NET_SessionId cookie?
- Routing to a fixed URL in ASP.NET MVC
- Store pictures as files or in the database like MSSQL for a web app?
- Can I access session state from an HTTPModule?
- Stored procedure slow when called from web, fast from Management Studio
- How can I implement Ninject or DI on asp.net Web Forms?
- Routing for custom ASP.NET MVC 404 Error page
- How and where to call Database.EnsureCreated and Database.Migrate?
- Get Image dimensions using Javascript during file upload
- IIS URL Rewriting vs URL Routing
- Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email protected] [closed]
- How to warm up an ASP.NET MVC application on IIS 7.5?
- Can SignalR be used with asp.net WebForms?
- Progress bar for long running server calls in ASP.Net MVC [closed]
- Is there a default verb applied to a Web API ApiController method?
- ASP.NET Web Site or ASP.NET Web Application?
- What is the difference between ‘dependencies’ and ‘frameworkAssemblies’ in project.json?