Re: New to CFMX - session problem

2005-05-23 Thread Jared Rypka-Hauer - CMG, LLC
Actually CF's sessioning has always been via cookies which have a 20-minute 
lifespan (or as configured via sessiontimeout or the CFAdmin). Since 3.1.1, 
anyway, sessions have outlasted the browser being closed by the value of the 
timeout... that is, the session will die 20 minutes or sooner after shutting 
the browser down, depending on how long it's been since the last activity on 
the site.

Afaik, when using J2EE sessions they should expire when the browser closes 
because J2EE sessions are in-memory cookies. You could also try using 
cfapplication's setclientcookies="false" attribute to prevent them being set 
at all, but that'll mean you need to append url_token to your links and 
includes to keep the sessions intact as the user navigates your site. 
Hitting a link with no ID/Token will kill the session and cause a new one to 
be created.

Hth,
J

On 5/23/05, Mike Klostermeyer <[EMAIL PROTECTED]> wrote:
> 
> I upgraded a server from CF 4.5 to MX 6.1. Previously, when a user closed
> their browser (without 'logging off'), the session expired. This is no
> longer happening. From what I can find, MX uses session variables
> differently, but I can't find anything that tells me what I need to do to
> get sessions to expire when the browser closes. I have tried to
> enable/disable J2EE Session variables from within the administrator, which
> did not solve this problem. Anything further I need to do? Thanks for your
> help.
> 
> Mike
> 
> 
> 
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207486
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: New to CFMX - session problem - CANCEL

2005-05-23 Thread Mike Klostermeyer
Sorry, using J2EE Sessions variables does fix the problem.

-Original Message-
From: Mike Klostermeyer [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 3:53 PM
To: CF-Talk
Subject: New to CFMX - session problem


I upgraded a server from CF 4.5 to MX 6.1.  Previously, when a user closed
their browser (without 'logging off'), the session expired.  This is no
longer happening.  From what I can find, MX uses session variables
differently, but I can't find anything that tells me what I need to do to
get sessions to expire when the browser closes.  I have tried to
enable/disable J2EE Session variables from within the administrator, which
did not solve this problem.  Anything further I need to do?  Thanks for your
help.

Mike





~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207478
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


New to CFMX - session problem

2005-05-23 Thread Mike Klostermeyer
I upgraded a server from CF 4.5 to MX 6.1.  Previously, when a user closed
their browser (without 'logging off'), the session expired.  This is no
longer happening.  From what I can find, MX uses session variables
differently, but I can't find anything that tells me what I need to do to
get sessions to expire when the browser closes.  I have tried to
enable/disable J2EE Session variables from within the administrator, which
did not solve this problem.  Anything further I need to do?  Thanks for your
help.

Mike



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207476
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54