On the client-side, I am redirecting using the syntax as window.location.href=url
and reaching server-side(express)
after performing few actions, from there again redirecting with a URL (res.redirect(url)
).
Here, both the URLs are the same but along with the URL sent from the server-side am passing few parameters. So, how to fetch those parameters on the client-side (javascript).