Passing variables trough 2 pages

I really have no idea what you’re implementing here – I don’t know how a plugin “has pages,” for instance. As such, I’m afraid I cannot offer you much help in the way of an example, but I’m confident that what you ask could be accomplished using the Transients API, or its ascendant the Options API (preferably Transients as Options exist indefinitely and you seem to only require the data temporarily, for the duration of a couple page requests).