I am having a problem with Coldfusion sessions timing out too early. The session timeout in the cfapplication is set to 2 hours. The CF Administrator is set to a default of 20 minutes and a maximum of 2 hours.
Users randomly get timed out in as little as 15 minutes or as much as the full 2 hours. These timeouts are 15 minutes FROM WHEN THE SESSION STARTED, not 15 minutes of idle time since the last page load. The user can be clicking like crazy and BAM the session is gone. I set my browser to 'prompt' all cookies, and I am getting a CFID and CFTOKEN with an expiration date many years in the future. When I close my browser, they get written to cookies.txt so I don't think there is a problem with the CFID/CFTOKEN session tracking cookies. For some reason the Coldfusion server (CF5) is expiring the session or forgetting it. This is on a shared server, so I suspected the server was being reset. But I tested four computers running sessions and they timed out at different times. If the server was being reset they would have all lost their sessions at the same time. Is there any way I can view the current in-memory database of CFID/CFTOKEN sessions? Can I write code to dump the values to a page so I can see what is really going on? (please don't say to view the #session# structure because when the session times out the #session# structure is lost completely.) -Peter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4