On Sat, 4 Aug 2001, DeWitt Clinton wrote:
> Can you check the actual data contained within the
> object? If I understand things right, there is a chance
> that the data itself is indeed the same. However, the
> instance containing the data (in your case, an instance
> of Wombat::Core::Session) will be different because it
> is going through Storable's freeze and thaw during the
> persistence process. Therefore a new instance is
> created when you call get, but it is identical with
> respect to the data to the one you stored with the set.
the data is definitely different. i am using a simple
servlet that allows me to specify a name and value to be
bound into the session. when i reload the page, however, the
name and value are no longer bound into the session. also,
on each request, the session's last accessed time is updated
after the first get, but after the second get i see the
original time, not the updated one.
could this be because i'm only ever doing one set, at
session creation time? since i'm using a memory cache, i
didn't expect to have to call set every time i modify the
cached data.
also i didn't know that Storable was used underneath. why is
this necessary?