class CookieWithOverlyBroadPath { static public void AddCookie() { HttpCookie cookie = new HttpCookie("sessionID"); cookie.Path = "/"; } }