This function is designed to be used by TUser descendant classes
who want to store additional user information in user session.
By storing a variable using this function, the variable may be retrieved
back later using {@link getState}. The variable will be persistent
across page requests during a user session.