macromedia.coldfusion.getting_started
[Top] [All Lists]

Re: Logging out issues

Subject: Re: Logging out issues
From: "JordonShaw" <webforumsuser@xxxxxxxxxxxxxx>
Date: Tue, 29 Jul 2008 16:25:41 +0000 (UTC)
Newsgroups: macromedia.coldfusion.getting_started

I'm wondering if maybe my application script has anything to do with it.

 <CFAPPLICATION NAME="xxxx"
        CLIENTMANAGEMENT="Yes"
        SESSIONMANAGEMENT="Yes"
        SESSIONTIMEOUT=#CreateTimeSpan(1,0,0,0)#
        APPLICATIONTIMEOUT=#CreateTimeSpan(1,0,0,0)#>

 <!--- Set these variables when site goes live --->
 <cfset dsn = "xxxx">
 <cfset dsn2 = "837">
 <cfset adminemail = "xxxx">

 <cfparam name="application.pidkey" default="tnfp08rt">

 <cfif not isDefined("session.rollCount")>
        <cfset session.rollCount = 1>
        <cfset application.lastUser = iif(isDefined("application.currentUser"), 
"application.currentUser", DE("Nobody"))>
        <cfset application.currentUser = iif(isDefined("client.clientName"), 
"client.clientName", DE("guest from #CGI.REMOTE_ADDR#"))>
        <!--- Test for cookies --->
        <cfcookie name="isOn" value="testing">
        <cfset session.addToken = client.URLToken>
 <cfelse>
        <!--- Check to see if cookies are on. If no, make a query string 
variable 
with    the CFID and CFTOKEN. --->
        <cfset session.addToken = iif(not isDefined("cookie.isOn"), 
DE("#client.URLToken#"), DE(""))>
 </cfif>
 <!---
 <CFHEADER NAME="Expires" VALUE="01 Jan 2000 00:00:01 GMT">
 <CFHEADER NAME="Pragma" VALUE="no-cache">
 <CFHEADER NAME="cache-control" VALUE="no-cache, no-store, must-revalidate">


<Prev in Thread] Current Thread [Next in Thread>