actionbolt
Programmer
is it possible to have two different timeouts in a cfapplication, one if a user has not logged in to time out in 3 minutes and the other if a user has logged on to time out in 3 hours.
Ive tried using this but with no success please can someone help me.
<cfif isDefined("session.show">
<cfset timeout = #createtimespan(0,0,3,0)#>
<cfelse>
<cfset timeout = #createtimespan(0,3,0,0)#>
</cfif>
<cfapplication name="company" clientmanagement="Yes" sessionmanagement="Yes" sessiontimeout="#timeout#">
Ive tried using this but with no success please can someone help me.
<cfif isDefined("session.show">
<cfset timeout = #createtimespan(0,0,3,0)#>
<cfelse>
<cfset timeout = #createtimespan(0,3,0,0)#>
</cfif>
<cfapplication name="company" clientmanagement="Yes" sessionmanagement="Yes" sessiontimeout="#timeout#">