Author: aspneto | Posted on: 12/31/2008 10:59:31 PM | Views : 251

 Hello,
I'm trying to read data from a cookie (In hebrew) but I got just garbage.

The read and write are like this:
myCookie["aa"] = ServerEncode(TxtBox1.Text);
TxtBox1.Text = Server.HtmlDecode(Request.Cookies["myCookie"]["aa"])  ;

I tried all the combination of decode and encode in the read and write but the result is the same.

When I'm opening the cookie in notepad its look right and the data is in hebrew.
Also - when I'm running the application on my local pc its look good and it read the cookie in hebrew.
Only on the server it can't read it well but I don't see any diffrence between my pc and the server.

I'm using fw2, c#.

Thanks!
...

Go to the complete details ...