> -----Original Message-----
> From: Gareth Coltman [mailto:[EMAIL PROTECTED]]
> Sent: 05 January 2001 10:45
> To: Turbine (E-mail)
> Subject: temp storage in the user object
>
>
> Hello,
>
> Would anybody mind explaining the scope of the temp storage
> provided by the user object. I assumed the data would be
> available while the user was still valid, but it doesn't seem
> to have any persistence between screens...???
>
More info... Basically, in one action I am doing the following:
data.getUser().setTemp("surname", pp.getString("surname",""));
And calling
System.out.println("SURNAME: " + data.getUser().getTemp("surname"));
works perfectly.
but a few screens later the same code
System.out.println("SURNAME: " + data.getUser().getTemp("surname"));
Just prints a null string...
I have not used any login in my app, but I'm assuming that as the getUser
method just fetches the session, that it should still create the
hashtable...
Hmmm... Please help.
Gareth
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]