Solved

Hiding CFID and CFTOKEN information from the URL.

Posted on 2004-08-04
2
1,427 Views
Last Modified: 2013-12-24
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
Comment
Question by:asharma411
2 Comments
 
LVL 17

Accepted Solution

by:
anandkp earned 50 total points
ID: 11715510
when u use CFLOCATION - specify
<CFLOCATION URL="theurlfile.cfm" ADDTOKEN="No">

this wld avoid the CFID & CFTOKEN
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 11716507
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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now