On Thu, Aug 18, 2011 at 5:50 PM, Richard Steele <[email protected]> wrote:

>
> Thanks Peter, that's helpful. Any thoughts about the Session is Invalid
> problem? Richard.
>
>
One cause for that exception is if your session variable timeouts don't
match the J2EE session timeout (configured in jrun-web.xml and defaults to
30 minutes).

So if the J2EE timeout is less than your session timeout, you can run into
this condition. One thing that might remedy the situation would be to add
the following to your onSessionStart() in Application.cfc:

<cfset
getPageContext().getRequest().getSession().setMaxInactiveInterval(numSeconds)>


Where numSeconds matches the length of your ColdFusion session timeout. I've
never tried that solution, but it seams to me like it might work, please let
us know.


--
Pete Freitag - Adobe Community Professional
http://foundeo.com/ - ColdFusion Consulting & Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346862
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to