RSS Links

 

Here are all of the RSS links for sections of this site

VB.NET/ASP.NET
 Java
 Unix/Linux
 Windows
 SQL Server

Home arrow VB.NET/ASP.NET arrow Creating cross subdomain cookies in VB.NET
Creating cross subdomain cookies in VB.NET PDF Print
In order to create a cross domain cookie within VB.NET you need to set the .domain element of the cookie for example Response.Cookies("domain").Value = DateTime.Now.ToString() Response.Cookies("domain").Expires = DateTime.Now.AddDays(1) Response.Cookies("domain").Domain = "programmingtips.co.uk" Would allow the cookies to be read from both www.programmingtips.co.uk and forum.programmingtips.co.uk - however not from www.grahamrobinsonsoftware.co.uk There is a good article on creating VB.NET cookies at http://www.go4expert.com/forums/showthread.php?t=14605
 
< Prev   Next >
 
Designed by Graham Robinson Software