thanks! i suspect that the errors were due to the session trying to access a record before it was defined; the error messages were somewhat cryptic. but i’ve got it working now.