![]() ![]() Further, assume that you are using a stateless server so that you cannot save the state on the server and just put an identifier into the cookie. ![]() Cookies can only store text, not arbitrary data, so you need to convert it in some way, preferably with a way to convert it back. Not common, less verbose again, expands four bytes to five.Īre there any other encoding schemes in common use? If so, what are there advantages and disadvantages?Įdit: This is useful, for example, when trying to store arbitrary data in a cookie. Most common, not so verbose, expands three bytes to four. Very simple, but quite verbose, expands one byte to two. If you have binary data that you need to encode, what encoding scheme do you use?
0 Comments
Leave a Reply. |