The size limits are more complicated, because strings get stored as utf16, so that 5 mb is a lot less in practice. Also, on ie7, you have to fall back to userData whose capacity depends on the security zone your app runs in, and can get as low as 64 kb.
I use it to replace cookies for storing settings that don't need to get sent to the server on every request. The collapsed state of a sidebar for example.
I use it to replace cookies for storing settings that don't need to get sent to the server on every request. The collapsed state of a sidebar for example.