Swadhin Ray
asked on
Hiding URL Parameters
Hello Experts,
How do I Hide URL Parameters without reloading page in Javascript. For example if URL after load is showing "http://something.com/userid=1001" then after page is loaded i want to show the url to user as "http://something.com/userid=***".
There is no need of any other security to be implemented, only thing is required to change the text only.
Any help on this will be highly appreciated.
Thanks
How do I Hide URL Parameters without reloading page in Javascript. For example if URL after load is showing "http://something.com/userid=1001" then after page is loaded i want to show the url to user as "http://something.com/userid=***".
There is no need of any other security to be implemented, only thing is required to change the text only.
Any help on this will be highly appreciated.
Thanks
When parameters are passing in HTTP GET, it is visible for the user in the URL. When passing variables in HTTP POST, it will not visible to the user in the URL
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Currently I cannot change the structure to "HTTP GET" or "HTTP POST" and I am using JAVA , not PHP.
Please suggest if there is any way to do it on JAVA script (Client Side only).
Please suggest if there is any way to do it on JAVA script (Client Side only).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
http://stackoverflow.com/questions/824349/modify-the-url-without-reloading-the-page