request.ServerVariables("HTTP_COOKIE") weird problem
Posted on 2004-10-27
Every now and again, as an IT professional, you come across problems that defy all logical explanations, and make you ask yourself - "Is someone f***ing with me?"
Anyways, here is a problem I am facing as such:
In my asp page, request.ServerVariables("HTTP_COOKIE") is returning two separate cookie names, obviously causing me problems.
Instead of returning just ASPSESSIONIDCSAADRAA=DKPHNFLAEDGJCHBDJLGGOAKD
and YES, that semicolon is part of the string.
In my code, this is all i am doing:
tmpTable1 = request.ServerVariables("HTTP_COOKIE")
and then i use tmpTable1 throughout the page.
Finest wines and cheeses to anyone who solves this!