0
<a href="javascript:OpenPopUp('/demo/control?check=guide&rfc= <%= (String) session.getAttribute(DemoConstants.RFC_Ticket) %>');" Demo</a><BR> 

If I click on Demo URL all the values in the hyperlink are populating in the browser address bar.

Is there any way to hide the Query String parameters in the above hyperlink.

Note: All the other values in this form are submitting via POST method.

Thanks in advance, Naga

1 Answers1

0

One way would be to use the History API. So first process the parameters when you land on the given page and then "remove" them, e.g history.replaceState({}, null, location.pathname);

Mathias W
  • 1,433
  • 12
  • 16
  • Can get it from browser history ?? – Suresh Atta Jun 23 '17 at 10:20
  • @SureshAtta `history.replaceState()` [modifies the current history entry instead of creating a new one.](https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_replaceState()_method) – Mathias W Jun 23 '17 at 10:22