Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8939713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:52:38+00:00 2026-06-15T10:52:38+00:00

I am currenting using FW/1 and tracking traffic via the following function call this.wsTraffic.add(action

  • 0

I am currenting using FW/1 and tracking traffic via the following function call

this.wsTraffic.add(action =
        {
        SubSystem   = getSubSystem(),
        Section     = getSection(),
        Item        = rc.slug != "" ? rc.slug : getItem()
        },  
        isPost      = (cgi.request_method == "POST" ? 1 : 0),

        http_user_agent         = cgi.http_user_agent,
        Remote_addr             = cgi.remote_addr,
        http_referer            = cgi.http_referer,
        http_accept_language    = cgi.http_accept_language,
        url_vars                = Duplicate(url)
        );

Currently it is ran on setupRequest() in application.cfc. I have two subsystems: home and admin. home will always have it traffic tracked. Admin will never have its traffic tracked.

I am considering moving the function call to home/layouts/default.cfm because only the home subsystem is tracked. I don’t want to move the traffic tracker there because this has nothing to do with layouts.

Where should traffic logging be done on an FW/1 site?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T10:52:41+00:00Added an answer on June 15, 2026 at 10:52 am

    It would be done in setupRequest, (where you are currently doing it).

    To avoid it occurring for the Admin subsystem, wrap it in a conditional check for getSubSystem() NEQ 'admin' before running it.

    Alternatively, if you forsee adding multiple subsystems with different statuses, you could implement it instead by creating a TrackedSubsystems (or UntrackedSubsystems) item in Variables.Framework, with a list of subsystem names, then check for:

    ListFind( Variables.Framework.TrackedSubSystems , getSubSystem() )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is the (quite simple) JS code I'm using: $(document).ready(function() { $(.button-list .next).click(function() {
I'm using Visual Studion 2010, and given the following example function obtained from WinGDI.h:
I'm using OpenCV fitLine() function. Sometimes following exception are thrown: ..\opencv\modules\core\src\matrix.cpp:1219: error: (-215) dims
I'm using this jQuery AJAX function and I'm trying to figure out how to
I am using Visual Studio 2010, but this applies to VS 2008 as well.
I am using LINQPad to run the following query: var pds = (from p
I am not able to display image using this code. Could any one help
I am using a jQuery plugin called: jqtransform This plugin uses JavaScript to apply
Currently I am trying to get the hour and minute using this code: DateTime
I'm using following code to alert id of current element. <input type=text id=desc name=txtTitle

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.