Passing variable between pages

Hello All,
I couldn’t find any info on this. Is there a way to pass variables between pages? For example by reading url querystrings or custom session variables or …
That way I could link up rows in a SQL grid and use the parameter on a different page to scope the information (i.e. create drilldowns).

Thx in advance!