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~!
http://img12.imageshack.us/img12/268...00426at218.gif
Printable View
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~!
http://img12.imageshack.us/img12/268...00426at218.gif
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.
thanks