Thanks for the suggestion. It worked perfectly! At 01:39 PM 1/7/03, you wrote: >You might try this instead: > ><cfif true> ><cfapplication name="blah" > applicationtimeout="#createtimespan(0,0,0,0)#" > sessiontimeout="#createtimespan(0,0,0,0)#"> ></cfif> > ><cfapplication name="blah" > applicationtimeout="#createtimespan(0,5,0,0)#" > sessiontimeout="#createtimespan(0,0,20,0)#"> > >run the page once, then change the <cfif true> to <cfif false> -- the >application and the session should then have a new session. Shouldn't even >need to abort after this -- or you could even use a url variable that way >you can flush the sessions whenever you need to without editing the >application.cfm file. > > > Hi, > > I looked thru the archives for problems with killing a > > session. I only > > found references to problems when closing the browser. I > > have a different > > problem. I kill the session by putting these three tags in > > the > > application.cfm file: <cfset > > structclear(application)><cfset > > structclear(session)><cfabort>. A call to any file in the > > directory > > displays the expected blank screen, so I assume the > > session has been > > killed. But when I remove structclear the tags (restore > > the application) > > and hit refresh, instead of my application springing back > > to life I get the > > error below. If I wait the duration of the session > > timeout, my application > > comes back. I'd rather have it come back immediately. Am I > > doing something > > really obviously wrong? Doesn't a new sessionID get > > created after the abort > > by the cfapplication tag? > > > An error occurred while evaluating the expression: > > "#session.sessionID#" > > Error near line 7, column 50. > > Error resolving parameter SESSION.SESSIONID > > The session variable SESSIONID does not exist. The cause > > of this error is > > very likely one of the following things: > > The name of the session variable has been misspelled. > > The session variable has not yet been created. > > The session variable has timed out. > > The error occurred while processing an element with a > > general identifier of > > (CFLOCK), occupying document position (7:1) to (7:86).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

