Hi All,
I am having an issue with session timeout. In the application.cfm I have
the following:
<cfapplication sessionmanagement="yes" name="Work_Prod">
This is the first line in the application.cfm. I was hoping the I could
replace this with a further definition further down in the code.
The default session timeout on the prod server from Cf Admionistrator are as
follows:
Session Variables
Enable session variables Yes
Default Timeout 0,0,20,0
Maximum Timeout 2,0,0,0
I have two type of users Big and Small.
I want to set the session timeout to 4 hours for the Bid users and leave the
session timeout at 20 minutes for the Small users.
I have put the following in the application.cfm further down in the code.
But this does not seems to work. The session still seems to time out at 20
minutes. Should thiscode work?
<cfif #IsDefined("Session.userType")#>
<cfif #session.usertype# eq "Big">
<cfapplication name="Work_Prod" sessionmanagement="yes"
sessiontimeout="#CreateTimeSpan(0, 4, 0, 20)#">
</cfif>
</cfif>
I was presuming that after the "BIG" user logged in that this If statement
would over write
the previous CfApplication tag.
Does anyone have any suggestions?
Regards
Ray
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/