Ahhhhhhh... good point on the HTTP request issue... I wasn't thinking
in terms of request/response as much as I was thinking of server-side
actions. I know CF doesn't have much in terms of session management
tools, and I was _assuming_ that J2EE had a way to kill a session so
the next request would trigger a new one... the "J2EE Ignorant" tattoo
on my forehead is glowing again, isn't it... that's why you're all
looking at me like that... ;)

In an attempt to rectify this aforementioned ignorance, I was just
looking for J2EE session information via google and ran across this:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19109

I was under the impression that the error came up when the CF session
timed out first, but, logically, that makes no sense. If the CF
session timed out, it would just ask Jrun for a new one... so the
issue pops up when CF expects Jrun to be holding session information
and Jrun can only reply with a session undefined error. So I'd set the
Jrun sessions to time out, say, 5 minutes past the CF sessions. That
way, if CF kills a session and Jrun creates a new one, you've only got
a few minutes of overlap. Conversely, since CF sessions will ALWAYS
time out before the Jrun sessions, Jrun will never be expected to
remember session information for CF that it has already dropped
because it times out first.

So c'mon, you guys, what's the big issue here? :P

I hope I don't get mobbed for that... hehe.

Laterz,
J

On Sat, 12 Mar 2005 20:30:39 -0800, Paul Kenney <[EMAIL PROTECTED]> wrote:
> Good points.
> 
> onSessionEnd() would be a good place to do this, except that it does
> not run in the context of a HTTP request. In other words, you can't
> remove the cookie from the browser.
> 
> The reason I didn't really go for this when using <cfapplication> in
> Application.cfm, was that simply catching the exception and using
> another <cfapplication> tag with a session timeout of "0 seconds"
> seems good enough. Maybe not... I really don't know :)
> 
> --
> Paul Kenney
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]


-- 
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://cfobjective.neo.servequake.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198573
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to