Accessing url variables from GET request

I’ve searched everywhere and can only find the same question asked with no reply.

Can the full URL string for the GET request be accessed? i.e. /page.htm?var1=5&var2=10

I tried RpGetCurrentUrl() and that only returned the name of the file that was requested. It would be really nice to be able to get access to the full URL…otherwise I guess I need to use forms for everything, which needlessly complicates things on both the server side as well as writing the HTML functionality (javascript on the served page).