Pass encryption key value securely to URL

Pass encryption key value securely to URL

Hi,

I am updating my database programs and came across this code snippet that is NOT secure in that you can see the value of "myKey" as it is passed.


$('button[name="revise"]').click(function() { location.href='accountRevise.html?recId='+recId+'&company='+company+' &myKey='+myKey })

I don't think $.post would work as I want to end up at, and stay at,  the 'accountRevise.html' page.

What would be the best way to pass this value securely to 'accountRevise.htlml' ?

R.