Register new object attribute

hi, i make in my script new attribut, the problem is that whene i exit the blender file, all my attribute not save. i make the attribute with differnt name every time so i cant find a way to add them to the register after i crate them…
so how i can register my new attribut so they will not elete after exit my file?