I can't argue with success, but I don't understand how your user is logged in. You should call UserLoggedOn() *after* authenticating a user, but you don't mention doing that. Here is the documentation for that function:
Quote:/// <summary>
/// Contains functionality that must execute after a user has logged on. Specifically, roles are cleared from the cache
/// and, if user albums are enabled, the user's personal album is validated. Developers integrating Gallery Server into
/// their applications should call this method after they have authenticated a user. User must be logged on by the
/// time this method is called. For example, one can call this method in the LoggedIn event of the ASP.NET Login control.
/// </summary>
/// <param name="userName">Name of the user that has logged on.</param>
Roger Martin
Creator and Lead Developer of Gallery Server Pro