Different stuff Dave, we used to use the Holts stuff years ago, you spray that in after you get a puncture.
The slime is a preventative (supposedly) cure that you put in before you ride and just leave it in there, if you then get a puncture it seals the hole.