• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1494
  • Last Modified:

Hiding CFID and CFTOKEN information from the URL.

Hello,

In my ColdFusion application, even though I am using cookies, the CFID and CFTOKEN information is not part of the URL, which is great because I am not interested in using URL rewriting.

However, at some places, CFID and CFTOKEN info shows up in the URL string. I believe it happens after I use the CFLocation tag for redirection. Please help, how can I hide it even there.

Thanks!
0
asharma411
Asked:
asharma411
1 Solution
 
anandkpCommented:
when u use CFLOCATION - specify
<CFLOCATION URL="theurlfile.cfm" ADDTOKEN="No">

this wld avoid the CFID & CFTOKEN
0
 
mrichmonCommented:
The key part in anand's post is the addtoken="no"

The default for cflocation is addtoken="yes" so if you don't specify it will add the CFID and CFTOKEN into the URL anytime you do a cflocation.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now