loginStatus is used internally to decide whether or not to unroll form and/or URL variables from the persistent store, so it wasn't intended as a status of whether the user is actually logged in. To determine whether the user is logged in, you can use the <CFLOGIN> tag or GetAuthUser().
HTH, Dave ----- Original Message ----- From: "Dan O'Keefe" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, December 28, 2004 10:10 AM Subject: Re: [plum] session timeout handling > Following up on this a little more, should the variable loginStatus change > to "loggedin" at some point? I know it is being used for proper handling on > requests, but currently, it is "ready" by default, and is still "ready" > after logging in. > > Dan > ----- Original Message ----- > From: "Dan O'Keefe" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Tuesday, December 28, 2004 9:45 AM > Subject: Re: [plum] session timeout handling > > > >I was checking into this again. It seems to me you have a lot of the > >plumbing in place already to handle session timeouts as well as preserving > >the form variables. Specifically #Application.persistentScope#.loginStatus > >in global.cfm as well as the PreserveVariablesForLogin.cfm file. > > > > I can plug this in for myself, but thought since you have some of the > > handling in place already, you might want to consider adding this to PLUM > > if the application.persistent scope is session. Rout the user to the login > > page with a message that the session timed out, and upon successful login > > complete the action and send the user to the original target. > > > > Just a thought > > > > Dan > > ----- Original Message ----- > > From: "David Churvis" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Tuesday, December 21, 2004 7:50 PM > > Subject: Re: [plum] session timeout handling > > > > > >> Dan, > >> > >> Try catching the error using a CFTRY statement and redirecting to the > >> login > >> page. Plum does not do anything special when a Session variable times > >> out; > >> this is a matter of the individual developer handling the error as he > >> sees > >> fit. > >> > >> Dave > >> ----- Original Message ----- > >> From: "Dan O'Keefe" <[EMAIL PROTECTED]> > >> To: <[email protected]> > >> Sent: Tuesday, December 21, 2004 5:35 PM > >> Subject: Re: [plum] session timeout handling > >> > >> > >>> Dave, > >>> > >>> How about a graceful redirect to the login screen with a message versus > >>> getting the CF error? > >>> > >>> Actually, typing that last line made me think of what the issue might > >>> be. > >> I > >>> have the error handlers turned off. With those on, does it do a > >>> redirect > >> to > >>> the login screen? > >>> > >>> Dan > >>> > >>> > ----- Original Message ----- > >>> > From: "David Churvis" <[EMAIL PROTECTED]> > >>> > To: <[email protected]> > >>> > Sent: Tuesday, December 21, 2004 2:42 PM > >>> > Subject: Re: [plum] session timeout handling > >>> > > >>> > > >>> >> Dan, > >>> >> > >>> > > >>> > > >>> > >>> > >>> > >>> > >>> ********************************************************************** > >>> You can subscribe to and unsubscribe from lists, and you can change > >>> your subscriptions between normal and digest modes here: > >>> > >>> http://www.productivityenhancement.com/support/DiscussionListsForm.cfm > >>> ********************************************************************** > >>> > >> > >> > >> ********************************************************************** > >> You can subscribe to and unsubscribe from lists, and you can change > >> your subscriptions between normal and digest modes here: > >> > >> http://www.productivityenhancement.com/support/DiscussionListsForm.cfm > >> ********************************************************************** > > > > > > > > ********************************************************************** > > You can subscribe to and unsubscribe from lists, and you can change > > your subscriptions between normal and digest modes here: > > > > http://www.productivityenhancement.com/support/DiscussionListsForm.cfm > > ********************************************************************** > > > > ********************************************************************** > You can subscribe to and unsubscribe from lists, and you can change > your subscriptions between normal and digest modes here: > > http://www.productivityenhancement.com/support/DiscussionListsForm.cfm > ********************************************************************** > ********************************************************************** You can subscribe to and unsubscribe from lists, and you can change your subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm **********************************************************************
