You could use cookies or url parameters (accessed by querystring) but you
could also use session variables and database values. Each technique has
it's own strengths and weaknesses. We use session variables quite a bit
to pass data between pages within applications. We use the url for values
passed between apps.