Sounds like you may be new to web development...not just ColdFusion?
To get a variable from one page to the next you usually need to pass it via a Form, URL, session, etc. You haven't provided many details so can't provide you with much.
I suggest you read Adobe's documentation:
Yes...you r right...i am new to web development itself...