Mike -
I can honestly say I have never seen anyone ever use a cfapplication tag like that.
I'd just get rid of it.
That's just weird.
Mark
------------------------------------------------------------------
[EMAIL PROTECTED]
ICQ: 3094740
Safe From Bees
[ www.safefrombees.com ]
Quoting Mike Kear <[EMAIL PROTECTED]>:
> I inherited an application this week and I have to make some changes to
> it.� I noticed that the previous programmer closes the session when the
> user logs out by deleting the struct key in the session scope, and by
> expiring the cookie NOW, which I'd expect, pretty standard, that.
> But he also has a CFAPPLICATION tag there too.� I havent' seen that
> before and I wondered if that was an accepted way to log a user out and kill
> his session.�� I would have thought it would kill everyone's
> session wouldn't it - all the users on the application would be logged out
> simultaneously wouldnt they?
> Here's what is in the logout routine:
> <!---Logout --->
> <cfif
> isDefined("url.logout")>
> �<cfset
> structdelete(SESSION,"loggedin")>
> �<cfapplication
> name="appname" sessionmanagement="Yes"
> sessiontimeout="#CreateTimeSpan(0,0,0,0)#">
> �<cflocation
> url="default.cfm">
> </cfif>
>
> Cheers
> Mike Kear
> AFP Webworks
> Windsor, NSW, Australia
>
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
>
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004
>
>
>
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004