Check out this page in the CFMX 7 docs:

http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00000692.htm

The variables you need to set in application.cfc are:

<cfset sessionManagement = true>
<cfset sessionTimeout = CreateTimeSpan(0,5,0,0)> <!--- this will set it to 5
hours --->

Dominic

On 19/11/2007, George Linderman <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
>
>
> I've developed a web application that uses application.cfc for
> authentication. The code is really just what is in the CF8 Dev Guide...and
> there's no code that says how long until the session expxires. How do I
> increase the session expiration time? I mean, my users get logged out in
> about 20 minutes or so...when I'd like it to be 5 hours. How do I change
> this in the application.cfc?
>
>
> Thanks,
> George C. Linderman
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293578
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to