Session variable issue

Posted on 2004-11-24
Last Modified: 2013-12-24
I have an application that uses session variables and for some reason it is not creating the cfid or cftoken variables...
this is what i have in my application.cfm
<cfapplication name="lead_mgmt"
<CFPARAM name="session.IsLoggedIn" default="NO">
<CFPARAM name="session.Username" default="">
<CFPARAM name="session.Password" default="">
<CFPARAM name="session.uid" default="">
<CFPARAM name="session.jrrid" default="">
<cfparam name="session.manLeadID" default="">

if i do a <cfdump var=#session#>
it only shows the cfparams defined above....
on a test site it would show what is above plus the ones in there by default
Question by:jduawa
    LVL 2

    Expert Comment

    Hmmm that looks right to me. My CFAPPLICATION Tag Looks like this:
    <cfapplication sessionmanagement="Yes" setclientcookies="Yes" name="test">

    And on the debug output on looking at a page it shows:
    Session Variables:

    Try this. Copy your cfapplication or the one I wrote into like a test.cfm, and load test.cfm. And then try it. My vibe is that your Application.cfm isn't even executing.

    What about cookie vars, do you get the CFID/CFTOKEN cookies?

    Under the CF Admin/Memory Variables, what do you have going on there? Make sure to enable Session Variables.

    Hope that helps.
    LVL 1

    Author Comment

    if i create a test application then i see the session variable that are missing from my real application
    in the debugging output un the http_are there is a cfidand cftoken but not being dumped as a session variable
    LVL 1

    Author Comment

    Well i think it had a little something to do with the spyware software on my pc that was blocking cookies or csomething, because after i deleted the cookie my app created it works ok...go figure, please refund the points...

    Accepted Solution

    PAQed with points refunded (50)

    Community Support Moderator

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Domino Load Balancer For 2048 Key Requirement 7 25
    Internal Hosted Website / Database 1 52
    Use System DSN 6 62
    ip / url redirect 13 44
    A web service ( is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
    Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    728 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

    20 Experts available now in Live!

    Get 1:1 Help Now