cfapplication Null Pointers

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default cfapplication Null Pointers

    Hi All,
    I'm using ColdFusion 6.0 server. I keep getting Error Occurred While
    Processing Request for Null Pointers are another name for undefined values. But
    when i delete cookies from my browser than everything works fine. However when
    i load this page again, i get the same error. This page works fine with
    ColdFusion 5.0 server. Any ideas.....Please help.....

    Here is my code
    <cfapplication name="myapplication"
    clientmanagement="Yes"
    sessionmanagement="Yes"
    setclientcookies="Yes"
    sessiontimeout="#CreateTimeSpan(0,2,0,0)#"
    clientstorage="Cookie"
    applicationtimeout="#CreateTimeSpan(0, 0, 30, 0)#">

    Thanks in advance,

    GiGi05 Guest

  2. Similar Questions and Discussions

    1. using <cfapplication> for security
      I have a website that is secured with a login form. On succes the login form initializes a session variable: <cfset SESSION.userData = userStuff>...
    2. Undefined value - CFAPPLICATION
      I have had this problem for awhile, finally based on this thread, I think I figured it out. Apparently if you have a cookie from before an upgrade...
    3. CFAPPLICATION clarification
      We have several applications that we plan to cluster later this year. Currently, the CFAPPLICATION tags in the respective Application.cfm look like...
    4. CFAPPLICATION in CFC
      Perhaps this post is more appropriate here: FYI, I've since discovered that it is not the session variable setting (or the lock which contains...
    5. Getting a 'Null Pointers' error when using query ofQueries
      Hi, I am using text in a file to create a new query. This section works correctly. I am then using query of Queries:- <cfquery...
  3. #2

    Default Re: cfapplication Null Pointers

    I assume that u have a kind of login system here..

    you don't need clientstorage="cookie" in the <cfapplication>. When u said
    sessionmanagement="yes", the cookies will be stored in the session scope and
    will clear out when the session is cleared.. in the log out have
    structClear(session) so that all the cookies are deleted.

    adonis1976 Guest

  4. #3

    Default Re: cfapplication Null Pointers

    I'm using <cftry> tag outside <cfapplication> tag, and it works fine.
    GiGi05 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139