I'm with Waste, at least with a Hayward.

I just changed my spider gasket last week. It was 9 years old and I'm sure it hadn't been glued in. On the new gasket I just thoroughly worked it down into the channel. It was a nice fit on my Hayward filter, I don't know about other models.