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
> Get the mailserver that powers this list at
> http://www.coolfusion.com

>                               Unsubscribe: http://www.houseoffusion.com/cf_lists/uns
>                               ubscribe.cfm?user=633.558.4


s. isaac dealey                954-776-0046

new epoch                      http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to