• Post Reply Bookmark Topic Watch Topic
  • New Topic

hiding parameters in addressbar  RSS feed

 
kesava chaitanya
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
in my application if i click hyperlink it is passing parameters in addressbar;how to hide parameters;i dont want to maintain session;if i give post method i am still getting parameters;can we do this javascript
please help?
 
Devesh H Rao
Ranch Hand
Posts: 687
Hibernate jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi kesava,
whenever a hyperlink is clicked the get method is called by default even if the form is declared to be of post type.
what i suggest is call a javascript function on click of the link and from the function submit the form and after that return false from the function to disable the hyperlink navigation.
in this way u will submit the form thru a post method and the parameters will not be visible in the address bar.
hope that helps.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!