Bugfix
If you attach an object to the session with storeInSession(), then delete it and then access it again with loadFromSession(), the script crashes with Deleted-Object-Access.
Fix
loadFromSession() may only return valid objects / values. A valid value does not contain any references to deleted objects. If a stored value contains a reference to a deleted object, the value is not returned (replaced by null ).