• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

strip path

LEGEND ,
Nov 20, 2007 Nov 20, 2007

Copy link to clipboard

Copied

Hi All,
I have a cfm page and in one of my links I reload the page like this.
<a href="#currentpage#?request=#customers.id#">
Base on this I check if request exist and perform some queries, but after I
do that I want to take the request value out before I display the page
again.
How can I do that?
My page looks like this
http://localhost/mysite/ucustomer.cfm?request=480
It should be like this
http://localhost/mysite/ucustomer.cfm

The problem is.. if the refresh the page it will pass the value again and I
want to prevent that.
Thanks in advance

JFB


TOPICS
Advanced techniques

Views

194

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 20, 2007 Nov 20, 2007

Copy link to clipboard

Copied

LATEST
You could change the href to a form submission using 'post' as the method. This will allow your 'url' to be just #currentpage# and your 'request' var would then be in the 'form' scope. (form.request).

HTH,
william

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation