Hello,

i am using  an anonymous user in order to save session variables (with
setTemp).
this user should exist only in the  data  (Rundata object), and not
permanently in
the database. The problen is that i receive
org.apache.turbine.util.security.UnknownEntityException: The account
'null' does not exist
eventhough i haven't tried explecitly to insert anything into the
database.
my code is:

 User user =  data.getUser();
     if (user.getUserName()==null){
         try{
          TurbineUser defUser = (TurbineUser)
              TurbineSecurity
              .getAnonymousUser();
          defUser.setUserName("Anonymous");
          defUser.setHasLoggedIn(new Boolean(true));
          data.setUser(defUser);
        }


thanks,
A. Bron




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to