if this is what I think it is your starting a program with the & to drop it to the backgorund then logging out and that program is killed right?
That is standard, what you can do is run screen and you won't have to worry about it.
this is how you do it.
screen --A -m -d -S [whatever you want to call the screen here] [path to application here]
once you run that you can do
screen -r [screen name]
that will show you that screen and you can interact with the program. To drop out of the screen press "CTRL + a" and then "d" and you'll drop back to a normal terminal.
Once a program is running in screen you can logout and it'll keep running.
Hope that helps.