Skip to main content
Tayyab Hussain
Inspiring
Feb 3, 2014 11:17 AM UTC
Question

Null Pointers are another name for undefined values

The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.

Null Pointers are another name for undefined values.



The error occurred inC:/ColdFusion10/cfusion/wwwroot/TESTONLINE/END.CFM: line 19
17 :  <cfcookie name = "cfid" 18 :   value = "#Now()#" 19 :   expires = "NOW"> 20 : <cfcookie name = "cftoken" 21 :   expires = "NOW">  

Please can any body help me out

Thanks

Tayyab Hussain

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    BKBK
    Community Expert
    Community Expert
    Feb 4, 2014 7:24 AM UTC

    Your code seems to span 5 lines, as follows:

    17 :  <cfcookie name = "cfid"

    18 :   value = "#Now()#"

    19 :   expires = "NOW">

    20 : <cfcookie name = "cftoken"

    21 :   expires = "NOW">

    You should rewrite it as:

    <cfcookie name = "cfid" value = "#Now()#" expires = "NOW">

    <cfcookie name = "cftoken" expires = "NOW">

    Translate
    Tayyab Hussain
    Inspiring
    Feb 6, 2014 11:32 AM UTC

    Dear BKBK,

    Still recieving the same error

    Regards

    Tayyab Hussain

    Translate
    BKBK
    Community Expert
    Community Expert
    Feb 6, 2014 12:17 PM UTC

    At which line of code do you receive the error?

    Translate