I have a healthy corn plant, approx. 10 yrs old. At the top a flowering has begun (looks like broccoli sprouts coming out of a brownish leaf). Also sticky sap is weeping out of it. I think this is good. What will happen to this sticky part as it doesn't look very strong? Can I cut and replant as a new one? What is this residue? Why have previous plants NOT produced the broccoli like sticky leaves? I thank you in advance of your response.
The plant sounds like a Dracaena and there are several types. The plant is mature enough to produce flowers and sounds like it is very happy regarding care and location. These flowers can be fragrant and sticky. This is the nectar of the flower. In the wild, this would be attractive to pollinators. Your other plants may not have been mature enough to produce flowers. You can wash off the sticky areas.
You can remove the flowers once they start to decline. Here is information on propagation