I am porting our application to MX 6.1. We are not refactoring anything yet,
simply re-deploying. However, I decided to redo the login mechanism using
<cflogin> architecture.

In my Application.cfm I have:

<cfif not isdefined("session.loggedin")>
<cfinclude template="_login.cfm">
</cfif>

_login.cfm, among other things, instantiates session.loggedin var.

What I am experience is that upon session expiration the above <cfif> block
in Application.cfm doesn't get prevent the application to execute further.
What am I missing?

We are not using J2EE session variables, but I have this in my
application.cfm:

<cfif isdefined('cookie.cfid') and isdefined('cookie.cftoken')>
<cfset localCFID = cookie.cfid>
<cfset localCFToken = cookie.CFTOKEN>
<cfcookie name = "CFID" value = "#localCFID#">
<cfcookie name = "CFTOKEN" value = "#localCFTOKEN#">
</cfif>

Thanks for any tips!

Stas
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to