Solved

Hiding url parameters in addressbar

Posted on 2006-11-01
3
656 Views
Last Modified: 2016-11-28
How to hide the url parameters in the addressbar? If POST method is used , it is not visible.
Incase , if the page is located from a javascript with some parameters (e.g document.location= somefile.php?paramerer1=value1&parameter2=value2 ) , in the address bar , the url would be displayed with all the parameters.
Is there any way to display the url without  parameters ?
0
Comment
Question by:shathy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Author Comment

by:shathy
ID: 17848199
How to hide the url parameters in the addressbar? If POST method is used , it is not visible.
Incase , if the page is located from a javascript with some parameters (e.g document.location= somefile.php?paramerer1=value1&parameter2=value2 ) , in the address bar , the url would be displayed with all the parameters.
Is there any way to display the url without  parameters ?
0
 
LVL 35

Accepted Solution

by:
Raynard7 earned 500 total points
ID: 17848206
Hi,  Post would be the best option - if not then what you could do is process all your page - then change the header to just your root page - but this will not totally hide the address
0
 

Expert Comment

by:Ramesh Sai
ID: 41904104
i've used HTML5 for hiding parameters u may give a try check it here : https://rameshsai.wordpress.com/2016/11/28/hide-url-parameters/
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question