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

cftoken and cfid problems !

New Here ,
Nov 02, 2009 Nov 02, 2009

Copy link to clipboard

Copied

Hi I use cfid and cftoken in my development in the URL variable

If I have several users logged in at the same time the server mixes people sessions and sends back history and orders to the wrong people?

I need help.As I use the URL option should I put it in everysingle page (I have some menus in JSP or Flash Menu)

Has somebody got an exemple of and application.cfm file that could avoid this type of issues ?

Is it better to work the session variable or the client variable in the web site ?

Thanks

TOPICS
Advanced techniques

Views

322

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
LEGEND ,
Nov 02, 2009 Nov 02, 2009

Copy link to clipboard

Copied

LATEST

CFID and CFTOKEN are specifically for identifying a user's session.  So if you use the same CFID and CFTOKEN for all users (like, hard coding them on a URL), then you will indeed be forcing people to use the same session.

So yo're perhaps better off not putting them on the URLs.  The only time you would need to do that is if the client you are developing the site for insists that visitors will have cookies disabled, and accordingly you need to maintain sessions manually.  But you'd still not hard code the values on the URL, yo'd use distinct values for each visitor.

--

Adam

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