This should work, I think you are going to have to tell us what is wrong.
One thing, you should be able to use data.getUser(), but I don't think this
is related to your problem.

You are not removing the object from "Perm" in between the time you call
theUser.saveToStorage() explicitely and when it is called at Logout, are
you?

John

----- Original Message -----
From: Herv� Guidetti <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Tuesday, August 29, 2000 2:04 AM
Subject: User perm storage doesn't save !!!???


> Hi,
>
> I try to use perm storage of User. I add the object I want to save like
this
> :
>
> data.getUserFromSession().setPerm("theObject",theObj);
> theUser.saveToStorage();
>
>
> Everything works still I logout. But when I logout and then login again
(the
> same user), the object should be retrieved. But the object is null.
> I try to retrieve it with :
>
> MyObject theObj = (MyObject)
data.getUserFromSession().getPerm("theObject");
>
>
> Why ??
>
> Thanks for your time.
> Herv�
>
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to