Personally I'd have that information in a screen class. But I guess you may not have done something like the following
gUser = TurbineSecurity.getAuthenticatedUser(aUserName, aPassword); data.setUser(gUser); gUser.setHasLoggedIn(new Boolean(true)); data.save(); then save the information to the RunData object. You should be ok from there on in. -----Original Message----- From: Jason Baragry [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 15:38 To: turbine-user Subject: Combine Index and Login Page? G'Day, I'd like to have a first/default page lets the user login or, if logged in, has pointers off to other pages. My .vm has the following #if ( $user.hasLoggedIn() ) // pointers to other pages #else // form to call the LoginUser action #end However, after I login it keeps returning false for the $user.hasLoggedIn() check and showing the login form. What am I missing? thanks Jason --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
