Question: Using CGI Scope to Create a working URL

Question

Using CGI Scope to Create a working URL

Answers 0
Added at 2017-01-05 20:01
Tags
Question

I am generating the url as:

http://localhost:8500/project1/list.cfm?category=55&secondary=72&view=&showall=0&sortby=price&sortdir=asc&_view=grid&price_tag_min=0&price_tag_max=134

using the following code:

<cfset sURL = request.siteurl & CGI.SERVER_NAME & ":" & CGI.SERVER_PORT & CGI.SCRIPT_NAME & "?" & CGI.QUERY_STRING>

now this repeats the query string which i want to avoid, like price_tag_min & price_tag_max and the values they own, i can have new values

Answers
Source Show
◀ Wstecz