10-09-2018, 12:44 PM
Hello,
I am trying to retrieve url parameters from a form.
I have no problem when a form is first accessed, but if the page is currently displayed then I do not get the new parameters.
ie. http://localhost/page?param=value1 and I get value1 when I access the param. If I then immediately go to http://localhost/page?param=value2 I still get value1 from the param.
However if I go to http://localhost/page2 before going to http://localhost/page?param=value2 I will get the value2 value in the param.
What would be the best way to do this?
Thanks
I am trying to retrieve url parameters from a form.
I have no problem when a form is first accessed, but if the page is currently displayed then I do not get the new parameters.
ie. http://localhost/page?param=value1 and I get value1 when I access the param. If I then immediately go to http://localhost/page?param=value2 I still get value1 from the param.
However if I go to http://localhost/page2 before going to http://localhost/page?param=value2 I will get the value2 value in the param.
What would be the best way to do this?
Thanks