Session Storage Manager variable value in query?

Is it possible to create a query and set a condition where equal to a Session Storage Manager variable value?

The problem is that the Session Storage Manager is on the client side while querying the database is on the server side. There are a couple of ways to overcome this, depending on your situation.

  1. Post the value to the server.
  2. Filter the data on the client.

Thanks Ben! Will look into your solutions