true...

it shows that i've not yet fully embraced Application.cfc, eh? :)

On 7/17/07, Raymond Camden <[EMAIL PROTECTED]> wrote:
> I think you should be a bit careful on wording here. Doing structClear
> on a session will NOT timeout the session. It just removes the data in
> it. So for example, onSessionEnd will not fire.
>
> On 7/17/07, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> > Rick:
> >
> > even if there weren't any differences from a coding standpoint, the
> > fact that you can choose between the two still suggests that they are
> > different (at least different enough that the choice is there).
> >
> > J2EE sessions end on browser close.  traditional cf sessions do not.
> >
> > you can time out a J2EE session via <cfset
> > getPageContext().getSession().invalidate()>.  you'd time out a
> > traditional cf session via <cfset structClear(session) />.
> >
> > that there's a coding difference :)
> >
> > On 7/17/07, Rick Root <[EMAIL PROTECTED]> wrote:
> > > Well, the interviewer was actually asking if I used j2ee session
> > > variables, to which I would've quickly answered "no"
> > >
> > > But as far as coldfusion is concerned, There's only one type of
> > > session variables.   Those are variables placed in the session scope.
> > >
> > > Whether or not they are J2EE session variables is an administrative
> > > setting of the server.
> > >
> > > I don't really consider them a different type of session variable,
> > > because from a coding standpoint, you don't really treat them any
> > > differently.
> > >
> > > Although he said he'd heard you didn't need to lock j2ee session 
> > > variables.
> > >
> > > All I know is that when you cluster, you *HAVE* to use j2ee session
> > > variables in order to get them to replicate.
> > >
> > > Rick
> > >
> > >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283924
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to