Thanks for your feedback, Paul! I think I have sorted it out. At least I have not had the usual error emails for almost 5 hours now.
I should mention that I did NOT set Max and Default session timeouts to same value, but just made sure that Max timeout was less than session-timeout value in web.xml file. Still seems to have worked... Cheers, Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 02/08/2009 20:48, Paul Vernon wrote: > >> sorry to resurrect an old thread, but I think I have something to add to >> it... >> >> the same issue has manifested itself on one of my sites about 2 days ago >> all of a sudden. my error handler started flooding my inbox with >> "Session is invalid" error reports at a rate of about 80-110 a day. > > There were a couple of things that I did that sorted this out completely. > > 1. Double checked the server was using J2EE sessions. > 2. Set the maximum timeouts to the same values as the default timeouts in > the CF Admin. > 3. Set the session-timeout in the web.xml file to a little more than the > settings in CF Admin (I added 5 mins). > 4. (This is the bit I was missing). Set the setClientCookies var in the > application cfc/cfm to false. > > Because I was missing the last piece, the CFID and CFTOKEN cookies were > being issued as well as JSESSIONID. This was causing clients to hold onto > the CFID/CFTOKEN combination (sent to the client) when the JSESSIONID (held > in server memory) had long since expired. CF was trying its best to > reconcile both the CFID/CFTOKEN combination with a valid J2EE session and > was failing as the J2EE session no longer existed and was null... hence the > error "Session is invalid null" > > HTH > > Paul > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325170 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4