K
Keith-Earl
I am developing on XP Pro VS.NET 2003. All cookie operations work well on
my dev box. When I publish to the PROD server (W2K .NET Framework 1.1) my
cookies do not behave the same way. Here is the code I write to
create/update the cookie:
Dim cookieCreate As New HttpCookie("myCookie")
cookieCreate.Values.Add("myVar", strmyVar)
cookieCreate.Expires = DateTime.MaxValue
Response.AppendCookie(cookieCreate)
cookieCreate = Nothing
What am I doing wrong? It seems so simple. When I try to read the cookie
back in the code is not finding it. I know I can tell my browser to reject
cookies, but I am browsing from the same PC. Code works great on DEV, not on
PROD.
How can I debug this situation?
I do not have access to the machine.config file on PROD.
Many thanks,
Keith
my dev box. When I publish to the PROD server (W2K .NET Framework 1.1) my
cookies do not behave the same way. Here is the code I write to
create/update the cookie:
Dim cookieCreate As New HttpCookie("myCookie")
cookieCreate.Values.Add("myVar", strmyVar)
cookieCreate.Expires = DateTime.MaxValue
Response.AppendCookie(cookieCreate)
cookieCreate = Nothing
What am I doing wrong? It seems so simple. When I try to read the cookie
back in the code is not finding it. I know I can tell my browser to reject
cookies, but I am browsing from the same PC. Code works great on DEV, not on
PROD.
How can I debug this situation?
I do not have access to the machine.config file on PROD.
Many thanks,
Keith