Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7c48.html
Copy link to clipboard
Copied
"After you invalidate a session, attempts by the browser to access the application will generate an invalid session exception until the session times out."
This can be solved by calling session.setMaxInactiveInterval(10) first, where 10 is the number of seconds for the session to time out. This seems to prevent a "session is invalid" error from occurring.