J2EE Session Variables (a.k.a. whaaaaa?)

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

  1. #1

    Default J2EE Session Variables (a.k.a. whaaaaa?)

    Okay, I've got J2EE sessions enabled, and I've got some clean up code in
    onSessionEnd in an Application.cfc. The code runs fine on a timeout (BTW,
    MM...nice job on the application events!! they make life soo much easier).
    So, everything is working like I would expect it up to this point. BUT, I
    read the docs and they clearly imply that onSessionEnd will fire when the
    client browser is closed (instead of simply timing out).

    Huh?

    If this is correct I'm doing something wrong because it's not working for
    me.

    Okay, I don't know nothing about nothing when it comes to Java, but what's
    the mechanism here? I can see with a sniffer that upon browser close the
    TCP connection is reset, but that's the only thing I see. Is the RST,ACK
    packet what the server is keying off of to destroy the session?

    ....are you guys just messing with my head? ;)
    --
    Best Regards,
    Chris


    Sir Monkey \(Chris L.\) Guest

  2. Similar Questions and Discussions

    1. j2ee session variables
      hi, i have been trying to use session variables in my app. I have enabled the session variables in the cf admin, and in the application.cfc. ...
    2. J2EE and CF Memory Variables settings
      We have a CFMX 7 server at work which has been set up for application development and testing. It is intended to server multiple developers whose...
    3. J2EE environment variables
      Hi all, I need to know how to set the J2EE environment variables. I can see that the JAVA_HOME environment variable is set, but i also need the...
    4. Enabling J2EE Memory Variables
      My question relates to ColdFusion MX 7 running under Win 2003. If I have a hosted site where the ISP refuses to enable J2EE Memory Variables on the...
    5. J2EE session managment
      Hi all, I have no access to view the file "cf_root\wwwroot\WEB-INF\web.xml " in our web server to check the J2EE session time out value. is there...
  3. #2

    Default Re: J2EE Session Variables (a.k.a. whaaaaa?)

    I once logged a bug for onSessionEnd not firing under a very specific
    condition, based on a report from Ray Camden, and that will be fixed in the
    next Cumulate Updater 3 released for ColdFusion.

    You might also want to check out the following:


    [url]http://ray.camdenfamily.com/index.cfm?mode=entry&entry=8CD20E0E-0CAA-BA34-9709A4[/url]
    5CE9C90886

    [url]http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:40809[/url]



    serat 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