Dear,
I use Response.Cookies("t") = "abc-xyz" to write cookies but why when i check on cookies databases the result become abc%2Dxyz, - (dashed) become %2D
how to fix? please help~!
![]()
Dear,
I use Response.Cookies("t") = "abc-xyz" to write cookies but why when i check on cookies databases the result become abc%2Dxyz, - (dashed) become %2D
how to fix? please help~!
![]()
That's just the hex code representation of a dash. It should automatically get translated back into a dash when the cookie is read. If not, try a different character, like an underscore:
zh_tw
Or just use letters only.
However, even if you need the dash, and it isn't getting translated back when the cookie is read, you should be able to unescape it back, either in javascript or VB on either the client or server side.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
thanks
Bookmarks