Never mind I had to sleep for about 4 hours to see that I spelled session.initialized incorrectly. Sorry to bother everyone.
At 03:00 AM 12/4/2001 -0500, you wrote: >I just found this out. > >If I delete the cookie file on my computer, the cookie.userID still shows >on my browser. >If I close my browser, the session variable and cookie value are at the >correct setting. > >At 02:09 AM 12/4/2001 -0500, you wrote: > >I am having problems with session state. > >The session variables will not reset. > > > > > >Application.cfm > >---------------------------------------------- > ><cfapplication name="souler" sessionmanagement="Yes" setclientcookies="Yes" > >sessiontimeout="#CreateTimeSpan(0,2,0,0)#" > >applicationtimeout="#CreateTimeSpan(1,0,0,0)#"> > > > ><!--- Initialize request variables ---> > ><cfscript> > > //request variables added by Won > > request.loginCheckActive = 1; > > request.dsn = "souler"; > > request.rootPath = " "; > > request.maxLen = 50; > ></cfscript> > > > ><!--- session variables ---> > ><cflock scope="session" type="EXCLUSIVE" timeout="10"> > > <cfparam name="session.intialized" default="0" type="numeric"> > > <cfscript> > > if(isdefined("url.reset")){ > > session.initialized = 0; > > } > > > > if(not session.intialized){ > > session.userID = 0; > > session.isSuperUser = 0; > > session.userTypeID = 0; > > > > session.intialized = 1; > > } > > </cfscript> > ></cflock> > > > ><!--- application variables ---> > ><cflock scope="application" type="EXCLUSIVE" timeout="10"> > > <cfparam name="application.initialized" default="0" > > type="numeric"> > > <cfscript> > > if(isdefined("url.reset")){ > > application.initialized = 0; > > } > > > > if(not application.initialized){ > > application.server = "http://www.souler.com/"; > > application.SysAdminMail = "[EMAIL PROTECTED]"; > > > > application.initialized = 1; > > } > > </cfscript> > ></cflock> > >------------------------- > >This is the only other page I am calling > > > >testCookie.cfm > >------------------------- > ><cfoutput>#session.userID#</cfoutput><br> > ><cfoutput>#application.server#</cfoutput><br> > >UserID is setAt: <cfoutput>#cookie.userID#</cfoutput> > >--------------------------- > > > > > >despite entering testCookie.cfm?reset=1 > >i still get 1 on the value for session.userID. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists