- From: Jaikishan Jalan <jai.ism@gmail.com>
- Date: Wed, 5 May 2010 18:31:37 -0700
- To: public-html-comments@w3.org
Received on Thursday, 6 May 2010 01:32:11 UTC
Hello, I understand that onstorage event will be invoked if setItem, removeItem or clear is invoked on either sessionStorage object or localStorage object. I am curious how can I determine which object has changed from within the onstorage event handler. To be precise, is the function called because localStorage object changed or sessionStorage object changed. storageArea attribute to event object does not help. If this is not possible, I am curious what is the reason behind not to support this ? I can imagine user wants to do different thing based on if localStorage changed or sessionStorage changed. -- Thanks, Jaikishan
Received on Thursday, 6 May 2010 01:32:11 UTC