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

Null Pointers are another name for undefined values

Explorer ,
Feb 03, 2014 Feb 03, 2014

Copy link to clipboard

Copied

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

Views

1.0K

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
Community Expert ,
Feb 03, 2014 Feb 03, 2014

Copy link to clipboard

Copied

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

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
Explorer ,
Feb 06, 2014 Feb 06, 2014

Copy link to clipboard

Copied

Dear BKBK,

Still recieving the same error

Regards

Tayyab Hussain

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
Community Expert ,
Feb 06, 2014 Feb 06, 2014

Copy link to clipboard

Copied

At which line of code do you receive the error?

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
Explorer ,
Feb 06, 2014 Feb 06, 2014

Copy link to clipboard

Copied

Hi again,

If you look at the main post the message received at line 19 which is Expires="now"

Regards

Tayyab

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
Community Expert ,
Feb 06, 2014 Feb 06, 2014

Copy link to clipboard

Copied

LATEST

You should not be receiving that same error message. That is because the code is now as follows:

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

Line 18: <cfcookie name = "cftoken" expires = "NOW">

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