Skip to main content
Tayyab Hussain
Inspiring
February 3, 2014
Question

Null Pointers are another name for undefined values

  • February 3, 2014
  • 1 reply
  • 1105 views

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 has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    February 4, 2014

    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">

    Tayyab Hussain
    Inspiring
    February 6, 2014

    Dear BKBK,

    Still recieving the same error

    Regards

    Tayyab Hussain

    BKBK
    Community Expert
    Community Expert
    February 6, 2014

    At which line of code do you receive the error?