Realy what happens in the background is something equivalent to this. First it looks in the session to see if the object exists, if it does it gives it back with a reference to it called "pref". If it doesn't exist, it creates the object, puts it in the session and then gives you the reference to it called "pref". So the code would look something like this..
Really the last line where I write return pref, I don't know exactly if it returns it like this of some other way to give you the reference to the object, but you get the idea. [ February 22, 2005: Message edited by: Louis - Jean Morisset ]