Update URL on f5 or refresh button
<p>i am trying to update url when the user hits f5 key or refresh the page using browser refresh button so that i can get the update value for key,
for eg: 
if my current url is : </p>

<pre><code>www.examplexyz.com?key=abcd
</code></pre>

<p>so if user hits f5 key , now i want to update the url as :</p>

<pre><code>www.examplexyz.com?key=newabcd
</code></pre>

<p>is there any way of doing it using jquery?
i tried to search it on google but what i found is disable f5.
so how can i achieve this? </p>