hi, encryption shouldn't be a problem here as when its decrypted then the value would be there.... are you sure that your nameid is permanent and not transient/dynamic ? alan