Your description does not tell much, but one way you can do it is via hidden fields :-
<apex:inputHidden value="{!theVar}" />
When set, this sets the value of the "theVar" property in the apex code. Again, there are other ways of doing this, so please post a more detailed explanation of your problem.
Your description does not tell much, but one way you can do it is via hidden fields :-
When set, this sets the value of the "theVar" property in the apex code. Again, there are other ways of doing this, so please post a more detailed explanation of your problem.