Spaces stripped from cookie value

  • Thread starter Thread starter Chris McFarling
  • Start date Start date
C

Chris McFarling

I'm using an apsx page to write a date value to a cookie. I then need to
read that cookie with a classic asp page. The value is written correctly to
the cookie. If I view cookies for example in Firefox, it is formatted
properly. When reading the value via asp however, all of the spaces are
stripped out causing it to become an invalid date value.

As written:
2/5/2010 3:23:14 PM

As read:
2/5/20103:23:14PM

As a test I read the value using aspx and it was read correctly. So it
appears to be classic asp related. Any ideas why this is happening?
 
I'm using an apsx page to write a date value to a cookie. I then need to
read that cookie with a classic asp page. The value is written correctly to
the cookie. If I view cookies for example in Firefox, it is formatted
properly. When reading the value via asp however, all of the spaces are
stripped out causing it to become an invalid date value.

As written:
2/5/2010 3:23:14 PM

As read:
2/5/20103:23:14PM

As a test I read the value using aspx and it was read correctly. So it
appears to be classic asp related. Any ideas why this is happening?

I think they were saved in UTF
 
Back
Top