c# - will encrypting a comma seperated list of ID's make it smaller to fit into a cookie? -


Say that I want to store in ID's cookie:

123,1232,3443, 2343,2344422, 2342

If there is a 4kb limit (or whatever) in a cookie, can encryption anyway allow more storage?

If so, which encryption would be best? (Not really worried about security, just want to store more with less footprint)

With 4K bytes, you can store 819 four digit numbers. Do you definitely need to store more?

Would not it be possible to store cookies in such a key, which would bring you more number of orders with simple DB queries?


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -