Greg's Blog

helping me remember what I figure out

Cflogin and the Session Scope

| Comments

Just wanted to make a note of this since it was brought up on the CFCDev list. By default the CFLogin tag is not tied into the session scope and hence it was logins were timing out at different times to the session scope. One solution was to do the following

<cfapplication sessiontimeout=”#createtimespan(0,0,30,0)#”…>
<cflogin idletimeout=”#createtimespan(0,0,30,0)#”>

However far more elegant a solution was to do this:

<cfapplication sessiontimeout=”#createtimespan(0,0,30,0)#” loginstorage=”session” …>