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 CFUNITED 2010 (Landsdown, VA) with:

Justin Holzer

Member since Dec 11, 2008

Recent Blog Comments By Justin Holzer

  • Ask Ben: Ending ColdFusion Session When User Closes Browser

    Posted on Jul 30, 2009 at 9:59 AM

    If you really wanted to force the user to login each time they opened a new tab couldn't you do something like the following: 1. Disable client cookies for your application (i.e. set this.SetClientCookies = false in Application.cfc) 2. At every URL except your login URL, expect that the cftoken an... read more »

  • Ask Ben: Ending ColdFusion Session When User Closes Browser

    Posted on Aug 27, 2008 at 3:39 PM

    @Ben 5 minutes might be a little short, but regardless, reducing the timeout is the simplest solution which I am hoping will solve the majority of the session related issues until the time when we get funding to basically start over from the beginning with the design @Rob Our users may have the a... read more »

  • Ask Ben: Ending ColdFusion Session When User Closes Browser

    Posted on Aug 27, 2008 at 9:52 AM

    @Ben That's a good idea. The only problem is while that handles the situation better when the user closes the browser, we still want the session to timeout if the user should get up and walk away for a while, and I believe the solution you proposed would keep the session alive forever as long as th... read more »

  • Ask Ben: Ending ColdFusion Session When User Closes Browser

    Posted on Aug 27, 2008 at 9:14 AM

    @Ben, I am not simply trying to implement something that my boss has asked me to do in this case. On the contrary, I have personally suggested not using any client side code to instantly clear the session, unless we find it to be absolutely necessary. Let me give you some perspective on this situa... read more »

  • Ask Ben: Ending ColdFusion Session When User Closes Browser

    Posted on Aug 27, 2008 at 8:56 AM

    I agree that JavaScript is not necessarily the way to go. At best, it is only going to work some of the time. I even personally suggested just reducing the session timeout, which I think will solve the issue in my particular case. I have been using J2EE sessions for quite a long time. The problem w... read more »

  • Ask Ben: Ending ColdFusion Session When User Closes Browser

    Posted on Aug 26, 2008 at 9:17 PM

    I have actually been tasked at work recently with finding a way to actually destroy session data when the user closes their browser. As several people have mentioned here, the session is not actually destroyed when the user closes their browser. The best idea I have come up with so far for handling... read more »