How to override query parameter from url?

Hi, I am wondering if this is possible.
I have a page with a server connect which loads ads based on a sessionManager variable.
Is it possible to override this variable with a parameter in the url?

So if I use http://myurlpage?environment_id=100
to have that override the session environment_id of say 4

Community Page
Last updated: