[eluser]adamp1[/eluser]
Other than those two ways, I don't think there is another way. Other than storing them in a session variable. Personally the uri_to_assoc function is your best bet. Keeps the url nice and clean then.
I don't get how using the ?variable=value method wouldn't make it messy if you had to always pass 12 on?