On Wed, Sep 8, 2010 at 2:15 PM, Barry van Oudtshoorn < [email protected]> wrote:
> Couldn't you tie into the unload and beforeUnload events, and only store > the data in the cookies then? That would alleviate the overhead of pushing > the data across the wire with each request. You'd still have the problem of > storage space, though. Your best bet in that case would be to prioritise the > data, and only store the high-priority data in cookies. can't use the beforeUnload - it's not reliable enough - just think that one of the main reasons autosave exists in the first place is that programs crash. as for prioritization, I'm trying to make a generic cross-browser storage Class. It's a side project - I don't personally see myself using it in the near future. I'm just trying to find alternative optional solutions. -- Arieh Glazer אריה גלזר 052-5348-561 5561
