Typical JD problem.Have Lawn mowers, Zero turn mower, JD Gator and all at one time or another have had seat cushion come unglued from shell
What glue was used? There are better ways than simple glue. As in Loctite I think it is has a foam safe caulking. Works wonders on anything with foam. Look for something that won't burn the foam away. Clean the pan with foaming glass cleaner. Slather on the caulk with a putty knife. Apply duct tape to hold the foam to the pan while curing. Never worry about it again.Tried to glue back and have had none keep glued very long.
Show Goo will or might burn the foam, I don't know for sure, never used it on this fix.So we got Loctite brand adhesive, and Shoe Goo so far. This is both a good, and legitimate question and concern that I have yet to successfully tackle and solve the problem myself. The foam is porous and the plastic seat is plastic so you adhering two completely different types of materials.