I’m trying to perform a redirect to a different page in Javascript AND also set a request attribute for that redirect.
I don’t want a request parameter like so:
window.location.href="www.somesite.com/id=123"
because I don’t want the user to see the value being passed in the address bar.
One way I see is to have a form in the page with a hidden field and to set the field and submit the form from Javascript.
Is there some easier way?
Thanks…
Use a Form and post it via window.onload.
and you’re done.