ASP Cookie Path Question
Posted on 2004-11-02
My web application suffers from the following cookie dilemma. All cookies are "get and set" using request.cookies and response.cookies in ASP code
The problem is related to:
Request.Cookies("Name").Path = "/"
When I comment this line out, some users get an error because the cookie has not survived between page transitions
When the line is in, the cookie survives but any attempt to change the cookie value (by the same page) is ignored, even when path is set every time.
Does anyone out there understand whats going on and what the best practice is ?