close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Hiding parameters in URL

Thread began 3/04/2010 5:10 pm by dinohorn397192 | Last modified 3/09/2010 8:57 pm by Eric Mittman | 720 views | 3 replies |

dinohorn397192

Hiding parameters in URL

When I click on "Update" from a Results page it shows the parameters in the URL. Is there a simple way to hide those parameters?

Thanks

Sign in to reply to this post

Eric Mittman

When you go to an update page from the results page it is passing the id for that record so that the recordset on the update page knows which record to select.

If you wanted to make it work without putting the id in the URL you would want to add a form around the update button and set the button to be an image type input, for the value you would bind the id from your results recordset and for the name use the same one as the URL parameter that you see. The form must have the method specified as post.

This will allow you to click on the update image and rather than just link to the update page with the id it will post to the update page with the id so you will not see it in the URL. If you do it like this though you will need to find any references to the get variable on your update page and change them to post, like this:

find all gets for the parameter that is passed in the URL

php:
$_GET['<parameter name>']



replace this with the posted version of this element

php:
$_POST['<parameter name>']
Sign in to reply to this post

dinohorn397192

Thank you, I'll give it a try.

Sign in to reply to this post

Eric Mittman

Let us know if you have any problems so we can help you check it out.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...