Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide URL info on the reportpage

Status
Not open for further replies.

kensington43

Technical User
Nov 29, 2005
50
US
I have a link where I was wondering how I can hide the ProjectID and LocationID on the reportPage.cfm URL.
After the link takes me to the reportPage.cfm it shows the ProjectID and LocationID in that page URL.
I dont want that info to show up in the URL.
Please advise how I can do that with a link such as what I have below?

Code:
<a href="[URL unfurl="true"]http://dsnLocation/reportPage.cfm?projectID=#projectID#&locationID=#locationID#">Link</a>[/URL]
 
use a javascript form post on click and use form variables. allow the reportPage.cfm to accept it's parameters as url or form variables.

 
Not quite the solution you are looking for, but if you are concerned about displaying projectID and locationID, you can encrypt these values in your url. Otherwise, use post method.
 
in the preceeding page, you can drop the url.variables to a cookie and in the subsuquent page, read the cookie...it will not be visable to the website user.\
 
you could easily just skip the javascript part and make a form with hidden fields to pass the info. anyways you've got a few choices, have fun.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top