Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at BFusion / BFLEX 2010 (Bloomington, Indiana) with:

lee

Member since Mar 20, 2009

Recent Blog Comments By lee

  • Testing ColdFusion Session Cookie Acceptance

    Posted on Mar 23, 2012 at 2:05 PM

    @Karl, I have never had an issue with chrome not accepting cookies. Just wanted to point out that it is normal for the incognito browser to accept cookies. They are just deleted as soon as you close the browser. I wonder if some kind of chrome extension could be killing the cookies. Have yo... read more »

  • ColdFusion Session Management And Asynchronous Page Requests

    Posted on Mar 24, 2009 at 9:08 AM

    @Ben, I think you are right that it must be locked. I was thrown off because Chrome seems to queue up the requests. OnSessionStart is single threaded, but only get's called once if you have cookies set, because like you said in the beginning "ColdFusion creates the SESSION before it calls the OnS... read more »

  • The Same CFID-CFTOKEN Values Are Used Across ColdFusion Session Timeouts

    Posted on Mar 24, 2009 at 9:06 AM

    You can also use cfcookie to manually set the cookies to expire immediately. That way when the user closes the browser the cookies are gone.... read more »

  • ColdFusion Session Management And Asynchronous Page Requests

    Posted on Mar 20, 2009 at 1:31 PM

    And thanks for your blog. Every time I have a cf question and "Google it" your page comes up.. usually with something relevant and helpful. Thanks a lot!... read more »

  • ColdFusion Session Management And Asynchronous Page Requests

    Posted on Mar 20, 2009 at 1:19 PM

    @Ben, You are right that chrome never fails. Hadn't noticed that before. It's almost like chrome waits for the first frame to load before requesting the second, but it still sends both requests without the cookies on the first shot. In IE if you clear the cookies and restart, the frame requests ... read more »

  • ColdFusion Session Management And Asynchronous Page Requests

    Posted on Mar 20, 2009 at 12:48 PM

    Nope, at least that's not what I have seen. If you have cfid, cftoken cookies then cf uses those even if your session has timed out. Same cfid, and same cftoken forever or until you clear your cookies.... read more »

  • ColdFusion Session Management And Asynchronous Page Requests

    Posted on Mar 20, 2009 at 12:37 PM

    I think cookies are the same for all applications on the same server, so you have to be sure those browsers never hit a cf page on your server to get a cookie. I cleared cookies in IE and get the same results as chrome. Both frames load ok after the pause and have different cfid/cftoken values - ... read more »

  • ColdFusion Session Management And Asynchronous Page Requests

    Posted on Mar 20, 2009 at 11:41 AM

    @MrBuzzy, By default cftoken and cfid are persistent cookies assigned on the return of the first request to the server. They don't expire so even if you close and reopen the browser they are still there. The server should run the onSessionEnd after 20 seconds, but the cookies will remain.... read more »

  • ColdFusion Session Management And Asynchronous Page Requests

    Posted on Mar 20, 2009 at 10:47 AM

    I think you may be starting out with your session already set because you already have the cftoken and cfid cookies. If the server session has timed out then onSessionStart will only be called by the first request. If you start without your cookies set you will see something different. Open up ch... read more »

  • ColdFusion Session Management And Asynchronous Page Requests

    Posted on Mar 20, 2009 at 10:25 AM

    I ran a test myself and I don't think you have to use the lock in the onSessionStart for this to work. It is locked by default as the docs specify. However it is not single threaded so other requests will run, but only the first request calls the onSessionStart. Curious though if the first reques... read more »