Is there a better way using javascript to persist url query string throughout user session in client side other than using cookie?
url:
http://site.com/?q=query
Is there a better way using javascript to persist url query string throughout user session in client side other than using cookie?
url:
http://site.com/?q=query
Use window.name
property. It'll store any string you need. And then check the property value on other pages.
Works on older browsers too.