Re: [ACFUG Discuss] cfcontent in IE7

2007-08-29 Thread Dean H. Saxe
Correct Charlie, but in this case it would be helpful to ensure you  
always get fresh content until everything starts working.  You can  
alternatively use a MITM proxy like Paros to ensure all caching  
headers are ignored, thereby pulling fresh content all the time too.


-dhs


Dean H. Saxe, CISSP,  CEH
[EMAIL PROTECTED]
"[T]he people can always be brought to the bidding of the leaders.  
This is easy. All you have to do is to tell them they are being  
attacked, and denounce the pacifists for lack of patriotism and  
exposing the country to danger. It works the same in every country."

--Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials


On Aug 28, 2007, at 11:09 PM, Charlie Arehart wrote:

Though doesn't it make sense to add that there are times when the  
content of

the page might not otherwise call for those settings? If you set them
always, you could force reloads of the page when it might otherwise  
benefit

from caching.

I just meant to say that when first building (or when editing) the  
code that
builds such a page, you just want to keep this caveat in mind (of  
needing
sometimes to "re-open" the page) if you ever browse the page and  
get an
error, or perhaps even when you modify a working page. You just  
need to
force a reload (and I thought I'd noticed that forced reloads, as  
available

in various browsers) didn't do the trick.

/charlie

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H.  
Saxe

Sent: Tuesday, August 28, 2007 6:22 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] cfcontent in IE7

FWIW, you should use the Pragma: no-cache, Expires: 0 and Cache-
Control: no-cache, no-store, must-revalidate for such requests to  
prevent

exactly what Charlie is referring to.

-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"[U]nconstitutional behavior by the authorities is constrained only  
by the

peoples' willingness to contest them"
 --John Perry Barlow


On Aug 28, 2007, at 5:54 PM, Charlie Arehart wrote:


Besides the (as always) sage advice of Dean and Doug, I'll note as
well that sometimes when working with this sort of code, things fail
simply because the first time you ran the code there was an error,  
and
you fixed it, and refreshed the page, but the browser is still  
caching

the old bad page (or just some aspect of it).

Try closing the browser and reopening it (or even just browsing the
page in a new window or tab). Let us know if that works.

There could be other issues, of course. I've not considered your code
carefully. This is just such a common problem and easy first solution
to try/rule out.

/charlie





-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-







-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





[ACFUG Discuss] Session variables

2007-08-29 Thread Fennell, Mark P.
Greetings,
Is is possible to use J2EE session variables in one CFApplication and
standard session variables in another? 
I have a server that is running two cfapplications and one uses J2EE
variables and seems to not work so well when J2EE Sess Vars is disabled
in cf admin. The other applications totally breaks if I have J2EE
enabled. I was hoping that, before I set about actually fixing the
problem with code that there might be some setting in the cfapplication
tag that I can use to enable/disable j2ee vars for a specific
application... I'm completely prepared to recode, I just wanted to check
and see if anyone had an easy way out. Thanks.
mf


-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





RE: [ACFUG Discuss] Session variables

2007-08-29 Thread Fennell, Mark P.
Yes, it is odd that the change would break something. 
I'm using lylaCaptcha and when I enable the J2ee session vars it stops
generating the image. I'm going to dig through the cfc and see if it
relies on something specifically anti-j2ee. But that doesn't make sesnse
as it uses java to create the image. Weirdness. Wishing I had CF8.
Thanks.
mf



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas
Knudsen
Sent: Wednesday, August 29, 2007 9:30 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Session variables


well...if your on CF8 I believe you can set this at the application
level.  Aside from that, what is breaking?  In the past I had several
apps running on a server with standard cf session vars and turned 'use
J2EE session vars' on without incident. 

DK


On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote: 

Greetings,
Is is possible to use J2EE session variables in one
CFApplication and
standard session variables in another?
I have a server that is running two cfapplications and one uses
J2EE
variables and seems to not work so well when J2EE Sess Vars is
disabled 
in cf admin. The other applications totally breaks if I have
J2EE
enabled. I was hoping that, before I set about actually fixing
the
problem with code that there might be some setting in the
cfapplication
tag that I can use to enable/disable j2ee vars for a specific 
application... I'm completely prepared to recode, I just wanted
to check
and see if anyone had an easy way out. Thanks.
mf


-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by http://www.fusionlink.com
-








-- 
Douglas Knudsen 
http://www.cubicleman.com
this is my signature, like it? 
- 
Annual Sponsor - Figleaf Software   

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink   
- 



-

Annual Sponsor FigLeaf Software - http://www.figleaf.com



To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Session variables

2007-08-29 Thread shawn gorrell
You can't have it both ways on the same server instance.

For the one that breaks when you have it on, are you doing things with 
CFID/CFTOKEN? What is the symptom of the breakage?

- Original Message 
From: "Fennell, Mark P." <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Wednesday, August 29, 2007 9:17:05 AM
Subject: [ACFUG Discuss] Session variables

Greetings,
Is is possible to use J2EE session variables in one CFApplication and
standard session variables in another? 
I have a server that is running two cfapplications and one uses J2EE
variables and seems to not work so well when J2EE Sess Vars is disabled
in cf admin. The other applications totally breaks if I have J2EE
enabled. I was hoping that, before I set about actually fixing the
problem with code that there might be some setting in the cfapplication
tag that I can use to enable/disable j2ee vars for a specific
application... I'm completely prepared to recode, I just wanted to check
and see if anyone had an easy way out. Thanks.
mf


-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-










-

Annual Sponsor FigLeaf Software - http://www.figleaf.com



To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Session variables

2007-08-29 Thread Douglas Knudsen
well...if your on CF8 I believe you can set this at the application level.
Aside from that, what is breaking?  In the past I had several apps running
on a server with standard cf session vars and turned 'use J2EE session vars'
on without incident.

DK

On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote:
>
> Greetings,
> Is is possible to use J2EE session variables in one CFApplication and
> standard session variables in another?
> I have a server that is running two cfapplications and one uses J2EE
> variables and seems to not work so well when J2EE Sess Vars is disabled
> in cf admin. The other applications totally breaks if I have J2EE
> enabled. I was hoping that, before I set about actually fixing the
> problem with code that there might be some setting in the cfapplication
> tag that I can use to enable/disable j2ee vars for a specific
> application... I'm completely prepared to recode, I just wanted to check
> and see if anyone had an easy way out. Thanks.
> mf
>
>
> -
> Annual Sponsor FigLeaf Software - http://www.figleaf.com
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?falogin.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by http://www.fusionlink.com
> -
>
>
>
>


-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?



-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] Session variables

2007-08-29 Thread Fennell, Mark P.
Tee-hee. Nevermind. I'm a moron...
I forgot to cflock and I had this in the Application.cfm... doh!



 
Sorry to have bothered.
mf



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shawn
gorrell
Sent: Wednesday, August 29, 2007 9:39 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Session variables


You can't have it both ways on the same server instance.

For the one that breaks when you have it on, are you doing things with
CFID/CFTOKEN? What is the symptom of the breakage?


- Original Message 
From: "Fennell, Mark P." <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Wednesday, August 29, 2007 9:17:05 AM
Subject: [ACFUG Discuss] Session variables


Greetings,
Is is possible to use J2EE session variables in one CFApplication and
standard session variables in another? 
I have a server that is running two cfapplications and one uses J2EE
variables and seems to not work so well when J2EE Sess Vars is disabled
in cf admin. The other applications totally breaks if I have J2EE
enabled. I was hoping that, before I set about actually fixing the
problem with code that there might be some setting in the cfapplication
tag that I can use to enable/disable j2ee vars for a specific
application... I'm completely prepared to recode, I just wanted to check
and see if anyone had an easy way out. Thanks.
mf


-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-






- 
Annual Sponsor - Figleaf Software   

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink   
- 



-

Annual Sponsor FigLeaf Software - http://www.figleaf.com



To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Session variables

2007-08-29 Thread Cameron Childress
I'm unclear on what impact CFLOCK had on this, but as a side note, you
can actually trim up that code quite a bit.  I frequently see people
using CFOUTPUT and pound signs where they aren't actually needed, and
this is one of those cases.  It may seem a little petty to point this
out, but it can really clean up your code and make it more readable,
not to mention taking less keystrokes to write code.  Really all
that's needed here is:




CFOUTPUT is only required when you are outputting code to the screen,
and the pound signs are only needed in cases you are instructing the
compiler that you are using a variable instead of a literal string.
In this case, since it's in a CFSET tag you don't need the pound
signs.

-Cameron

On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote:
>
> Tee-hee. Nevermind. I'm a moron...
> I forgot to cflock and I had this in the Application.cfm... doh!
>
> 
> 
>
> Sorry to have bothered.
> mf

-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: [EMAIL PROTECTED]


-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





RE: [ACFUG Discuss] Session variables

2007-08-29 Thread Charlie Arehart
Just to clarify, this isn't something you can do at the application level in
CF8. I was under the impression myself for a while that we could do pretty
much everything at the app level now, but it's just mappings and custom tag
paths. Perhaps in a later release. :-)
 
So, no, the J2EE sessions mechanism is a one for all and all for one sort of
thing (unless of course one runs on Enterprise and creates another
instance). 
 
/charlie
 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
Sent: Wednesday, August 29, 2007 9:30 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Session variables


well...if your on CF8 I believe you can set this at the application level.
Aside from that, what is breaking?  In the past I had several apps running
on a server with standard cf session vars and turned 'use J2EE session vars'
on without incident. 

DK


On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote: 

Greetings,
Is is possible to use J2EE session variables in one CFApplication and
standard session variables in another?
I have a server that is running two cfapplications and one uses J2EE
variables and seems to not work so well when J2EE Sess Vars is disabled 
in cf admin. The other applications totally breaks if I have J2EE
enabled. I was hoping that, before I set about actually fixing the
problem with code that there might be some setting in the cfapplication
tag that I can use to enable/disable j2ee vars for a specific 
application... I'm completely prepared to recode, I just wanted to check
and see if anyone had an easy way out. Thanks.
mf


-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 
List hosted by http://www.fusionlink.com
-








-- 
Douglas Knudsen 
http://www.cubicleman.com
this is my signature, like it? 
- 
Annual Sponsor - Figleaf Software   

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink   
- 



-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] Session variables

2007-08-29 Thread shawn gorrell
I guess I don't know why anyone would use the old session variables anymore. I 
always use the J2EE session variables instead. Maybe someone can enlighten me 
to the any benefits or trade-offs of either choice. 

- Original Message 
From: Charlie Arehart <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Wednesday, August 29, 2007 11:51:46 AM
Subject: RE: [ACFUG Discuss] Session variables



 

Just to clarify, this isn't something you can do at the 
application level in CF8. I was under the impression myself for a while that we 
could do pretty much everything at the app level now, but it's just mappings 
and 
custom tag paths. Perhaps in a later release. :-)

 

So, 
no, the J2EE sessions mechanism is a one for all and all for one sort of thing 
(unless of course one runs on Enterprise and creates another instance). 


 

/charlie

 




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Douglas Knudsen
Sent: Wednesday, August 29, 2007 
9:30 AM
To: discussion@acfug.org
Subject: Re: [ACFUG 
Discuss] Session variables




well...if your on CF8 I believe you can set this at the application 
level.  Aside from that, what is breaking?  In the past I had several 
apps running on a server with standard cf session vars and turned 'use J2EE 
session vars' on without incident. 

DK


On 8/29/07, Fennell, Mark 
P. <[EMAIL PROTECTED]> 
wrote: 
Greetings,
Is 
  is possible to use J2EE session variables in one CFApplication and
standard 
  session variables in another?
I have a server that is running two 
  cfapplications and one uses J2EE
variables and seems to not work so well 
  when J2EE Sess Vars is disabled 
in cf admin. The other applications 
  totally breaks if I have J2EE
enabled. I was hoping that, before I set 
  about actually fixing the
problem with code that there might be some 
  setting in the cfapplication
tag that I can use to enable/disable j2ee vars 
  for a specific 
application... I'm completely prepared to recode, I just 
  wanted to check
and see if anyone had an easy way out. 
  Thanks.
mf


-
Annual 
  Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe 
  from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For 
  more info, see http://www.acfug.org/mailinglists
Archive 
  @ http://www.mail-archive.com/discussion%40acfug.org/ 
  
List hosted by http://www.fusionlink.com
-







-- 
Douglas Knudsen 
http://www.cubicleman.com
this is my 
signature, like it? 

- 
Annual 
Sponsor - Figleaf Software 

To 
unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 


For more info, see http://www.acfug.org/mailinglists 

Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 

List hosted by FusionLink 

- 
-


Annual Sponsor - Figleaf Software





To unsubscribe from this list, manage your profile @ 


http://www.acfug.org?fa=login.edituserform





For more info, see http://www.acfug.org/mailinglists


Archive @ http://www.mail-archive.com/discussion%40acfug.org/


List hosted by FusionLink


-








-

Annual Sponsor FigLeaf Software - http://www.figleaf.com



To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Session variables

2007-08-29 Thread Dean H. Saxe
The J2EE session tokens have more entropy, which is always a good  
thing.  I too see no reason to use the old ones.



Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"Dissent is the purest form of patriotism."
--Thomas Jefferson


On Aug 29, 2007, at 12:55 PM, shawn gorrell wrote:

I guess I don't know why anyone would use the old session variables  
anymore. I always use the J2EE session variables instead. Maybe  
someone can enlighten me to the any benefits or trade-offs of  
either choice.


- Original Message 
From: Charlie Arehart <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Wednesday, August 29, 2007 11:51:46 AM
Subject: RE: [ACFUG Discuss] Session variables

Just to clarify, this isn't something you can do at the application  
level in CF8. I was under the impression myself for a while that we  
could do pretty much everything at the app level now, but it's just  
mappings and custom tag paths. Perhaps in a later release. :-)


So, no, the J2EE sessions mechanism is a one for all and all for  
one sort of thing (unless of course one runs on Enterprise and  
creates another instance).


/charlie


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas  
Knudsen

Sent: Wednesday, August 29, 2007 9:30 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Session variables

well...if your on CF8 I believe you can set this at the application  
level.  Aside from that, what is breaking?  In the past I had  
several apps running on a server with standard cf session vars and  
turned 'use J2EE session vars' on without incident.


DK

On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote: Greetings,
Is is possible to use J2EE session variables in one CFApplication and
standard session variables in another?
I have a server that is running two cfapplications and one uses J2EE
variables and seems to not work so well when J2EE Sess Vars is  
disabled

in cf admin. The other applications totally breaks if I have J2EE
enabled. I was hoping that, before I set about actually fixing the
problem with code that there might be some setting in the  
cfapplication

tag that I can use to enable/disable j2ee vars for a specific
application... I'm completely prepared to recode, I just wanted to  
check

and see if anyone had an easy way out. Thanks.
mf


-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-






--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
-
Annual Sponsor - Figleaf Software

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-
-
Annual Sponsor - Figleaf Software

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-


-
Annual Sponsor - Figleaf Software

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-




-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] Session variables

2007-08-29 Thread shawn gorrell
So they just rot faster than the old ones;)

- Original Message 
From: Dean H. Saxe <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Wednesday, August 29, 2007 1:12:28 PM
Subject: Re: [ACFUG Discuss] Session variables

The J2EE session tokens have more entropy, which is always a good  
thing.  I too see no reason to use the old ones.


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"Dissent is the purest form of patriotism."
 --Thomas Jefferson


On Aug 29, 2007, at 12:55 PM, shawn gorrell wrote:

> I guess I don't know why anyone would use the old session variables  
> anymore. I always use the J2EE session variables instead. Maybe  
> someone can enlighten me to the any benefits or trade-offs of  
> either choice.
>
> - Original Message 
> From: Charlie Arehart <[EMAIL PROTECTED]>
> To: discussion@acfug.org
> Sent: Wednesday, August 29, 2007 11:51:46 AM
> Subject: RE: [ACFUG Discuss] Session variables
>
> Just to clarify, this isn't something you can do at the application  
> level in CF8. I was under the impression myself for a while that we  
> could do pretty much everything at the app level now, but it's just  
> mappings and custom tag paths. Perhaps in a later release. :-)
>
> So, no, the J2EE sessions mechanism is a one for all and all for  
> one sort of thing (unless of course one runs on Enterprise and  
> creates another instance).
>
> /charlie
>
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas  
> Knudsen
> Sent: Wednesday, August 29, 2007 9:30 AM
> To: discussion@acfug.org
> Subject: Re: [ACFUG Discuss] Session variables
>
> well...if your on CF8 I believe you can set this at the application  
> level.  Aside from that, what is breaking?  In the past I had  
> several apps running on a server with standard cf session vars and  
> turned 'use J2EE session vars' on without incident.
>
> DK
>
> On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote: Greetings,
> Is is possible to use J2EE session variables in one CFApplication and
> standard session variables in another?
> I have a server that is running two cfapplications and one uses J2EE
> variables and seems to not work so well when J2EE Sess Vars is  
> disabled
> in cf admin. The other applications totally breaks if I have J2EE
> enabled. I was hoping that, before I set about actually fixing the
> problem with code that there might be some setting in the  
> cfapplication
> tag that I can use to enable/disable j2ee vars for a specific
> application... I'm completely prepared to recode, I just wanted to  
> check
> and see if anyone had an easy way out. Thanks.
> mf
>
>
> -
> Annual Sponsor FigLeaf Software - http://www.figleaf.com
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?falogin.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by http://www.fusionlink.com
> -
>
>
>
>
>
>
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
> -
> Annual Sponsor - Figleaf Software
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink
> -
> -
> Annual Sponsor - Figleaf Software
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink
> -
>
>
> -
> Annual Sponsor - Figleaf Software
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink
> -



-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-










-

Annual Sponsor FigLeaf Software - http://www.figleaf.com



To

RE: [ACFUG Discuss] Session variables

2007-08-29 Thread axunderwood
There are SOME situations where they can be a problem..if you have a single 
sign on type of interface for several applications and users can open new 
browser windows and *expect* to be able to go directly to another one of their 
secured apps, the sessions won't exist in the new browser and may cause 
problems.  I'm sure there are workarounds, but I thought I'd throw that out 
there.  The J2EE sessions are browser specific so opening a fresh browser will 
essentially disassociate the CF session with the new browser window.  

Allen

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dean H. Saxe
Sent: Wednesday, August 29, 2007 1:12 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Session variables


The J2EE session tokens have more entropy, which is always a good  
thing.  I too see no reason to use the old ones.


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"Dissent is the purest form of patriotism."
 --Thomas Jefferson


On Aug 29, 2007, at 12:55 PM, shawn gorrell wrote:

> I guess I don't know why anyone would use the old session variables  
> anymore. I always use the J2EE session variables instead. Maybe  
> someone can enlighten me to the any benefits or trade-offs of  
> either choice.
>
> - Original Message 
> From: Charlie Arehart <[EMAIL PROTECTED]>
> To: discussion@acfug.org
> Sent: Wednesday, August 29, 2007 11:51:46 AM
> Subject: RE: [ACFUG Discuss] Session variables
>
> Just to clarify, this isn't something you can do at the application  
> level in CF8. I was under the impression myself for a while that we  
> could do pretty much everything at the app level now, but it's just  
> mappings and custom tag paths. Perhaps in a later release. :-)
>
> So, no, the J2EE sessions mechanism is a one for all and all for  
> one sort of thing (unless of course one runs on Enterprise and  
> creates another instance).
>
> /charlie
>
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas  
> Knudsen
> Sent: Wednesday, August 29, 2007 9:30 AM
> To: discussion@acfug.org
> Subject: Re: [ACFUG Discuss] Session variables
>
> well...if your on CF8 I believe you can set this at the application  
> level.  Aside from that, what is breaking?  In the past I had  
> several apps running on a server with standard cf session vars and  
> turned 'use J2EE session vars' on without incident.
>
> DK
>
> On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote: Greetings,
> Is is possible to use J2EE session variables in one CFApplication and
> standard session variables in another?
> I have a server that is running two cfapplications and one uses J2EE
> variables and seems to not work so well when J2EE Sess Vars is  
> disabled
> in cf admin. The other applications totally breaks if I have J2EE
> enabled. I was hoping that, before I set about actually fixing the
> problem with code that there might be some setting in the  
> cfapplication
> tag that I can use to enable/disable j2ee vars for a specific
> application... I'm completely prepared to recode, I just wanted to  
> check
> and see if anyone had an easy way out. Thanks.
> mf
>
>
> -
> Annual Sponsor FigLeaf Software - http://www.figleaf.com
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?falogin.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by http://www.fusionlink.com
> -
>
>
>
>
>
>
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
> -
> Annual Sponsor - Figleaf Software
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink
> -
> -
> Annual Sponsor - Figleaf Software
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink
> -
>
>
> -
> Annual Sponsor - Figleaf Software
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink
> -




Re: [ACFUG Discuss] Session variables

2007-08-29 Thread Dean H. Saxe
Uh... that's a browser implementation not a problem with CF or the  
state maintenance mechanism.  Specifically, MSIE can open windows in  
different processes, when this happens the memory resident cookies  
(session cookies) do not get shared between browser instances.  This  
is configurable on Windows boxes.


-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"Great spirits have often encountered violent opposition from weak  
minds."

--Einstein


On Aug 29, 2007, at 1:18 PM, <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]> wrote:


There are SOME situations where they can be a problem..if you have  
a single sign on type of interface for several applications and  
users can open new browser windows and *expect* to be able to go  
directly to another one of their secured apps, the sessions won't  
exist in the new browser and may cause problems.  I'm sure there  
are workarounds, but I thought I'd throw that out there.  The J2EE  
sessions are browser specific so opening a fresh browser will  
essentially disassociate the CF session with the new browser window.


Allen

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dean H.  
Saxe

Sent: Wednesday, August 29, 2007 1:12 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Session variables


The J2EE session tokens have more entropy, which is always a good
thing.  I too see no reason to use the old ones.


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"Dissent is the purest form of patriotism."
 --Thomas Jefferson


On Aug 29, 2007, at 12:55 PM, shawn gorrell wrote:


I guess I don't know why anyone would use the old session variables
anymore. I always use the J2EE session variables instead. Maybe
someone can enlighten me to the any benefits or trade-offs of
either choice.

- Original Message 
From: Charlie Arehart <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Wednesday, August 29, 2007 11:51:46 AM
Subject: RE: [ACFUG Discuss] Session variables

Just to clarify, this isn't something you can do at the application
level in CF8. I was under the impression myself for a while that we
could do pretty much everything at the app level now, but it's just
mappings and custom tag paths. Perhaps in a later release. :-)

So, no, the J2EE sessions mechanism is a one for all and all for
one sort of thing (unless of course one runs on Enterprise and
creates another instance).

/charlie


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas
Knudsen
Sent: Wednesday, August 29, 2007 9:30 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Session variables

well...if your on CF8 I believe you can set this at the application
level.  Aside from that, what is breaking?  In the past I had
several apps running on a server with standard cf session vars and
turned 'use J2EE session vars' on without incident.

DK

On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote: Greetings,
Is is possible to use J2EE session variables in one CFApplication and
standard session variables in another?
I have a server that is running two cfapplications and one uses J2EE
variables and seems to not work so well when J2EE Sess Vars is
disabled
in cf admin. The other applications totally breaks if I have J2EE
enabled. I was hoping that, before I set about actually fixing the
problem with code that there might be some setting in the
cfapplication
tag that I can use to enable/disable j2ee vars for a specific
application... I'm completely prepared to recode, I just wanted to
check
and see if anyone had an easy way out. Thanks.
mf


-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-






--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
-
Annual Sponsor - Figleaf Software

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-
-
Annual Sponsor - Figleaf Software

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-


-
Annual Sponsor - Figleaf Software

To unsubscr

Re: [ACFUG Discuss] Session variables

2007-08-29 Thread Dean H. Saxe
The reason this doesn't happen with CF cookies out of the box is that  
they are not session cookies, therefore they are persisted to disk,  
accessible to all MSIE processes.


-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"I have always strenuously supported the right of every man to his  
own opinion, however different that opinion might be to mine. He who  
denies another this right makes a slave of himself to his present  
opinion, because he precludes himself the right of changing it."

-- Thomas Paine, 1783


On Aug 29, 2007, at 1:23 PM, Dean H. Saxe wrote:

Uh... that's a browser implementation not a problem with CF or the  
state maintenance mechanism.  Specifically, MSIE can open windows  
in different processes, when this happens the memory resident  
cookies (session cookies) do not get shared between browser  
instances.  This is configurable on Windows boxes.


-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"Great spirits have often encountered violent opposition from weak  
minds."

--Einstein


On Aug 29, 2007, at 1:18 PM, <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]> wrote:


There are SOME situations where they can be a problem..if you have  
a single sign on type of interface for several applications and  
users can open new browser windows and *expect* to be able to go  
directly to another one of their secured apps, the sessions won't  
exist in the new browser and may cause problems.  I'm sure there  
are workarounds, but I thought I'd throw that out there.  The J2EE  
sessions are browser specific so opening a fresh browser will  
essentially disassociate the CF session with the new browser window.


Allen

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dean H.  
Saxe

Sent: Wednesday, August 29, 2007 1:12 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Session variables


The J2EE session tokens have more entropy, which is always a good
thing.  I too see no reason to use the old ones.


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"Dissent is the purest form of patriotism."
 --Thomas Jefferson


On Aug 29, 2007, at 12:55 PM, shawn gorrell wrote:


I guess I don't know why anyone would use the old session variables
anymore. I always use the J2EE session variables instead. Maybe
someone can enlighten me to the any benefits or trade-offs of
either choice.

- Original Message 
From: Charlie Arehart <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Wednesday, August 29, 2007 11:51:46 AM
Subject: RE: [ACFUG Discuss] Session variables

Just to clarify, this isn't something you can do at the application
level in CF8. I was under the impression myself for a while that we
could do pretty much everything at the app level now, but it's just
mappings and custom tag paths. Perhaps in a later release. :-)

So, no, the J2EE sessions mechanism is a one for all and all for
one sort of thing (unless of course one runs on Enterprise and
creates another instance).

/charlie


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas
Knudsen
Sent: Wednesday, August 29, 2007 9:30 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Session variables

well...if your on CF8 I believe you can set this at the application
level.  Aside from that, what is breaking?  In the past I had
several apps running on a server with standard cf session vars and
turned 'use J2EE session vars' on without incident.

DK

On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote: Greetings,
Is is possible to use J2EE session variables in one CFApplication  
and

standard session variables in another?
I have a server that is running two cfapplications and one uses J2EE
variables and seems to not work so well when J2EE Sess Vars is
disabled
in cf admin. The other applications totally breaks if I have J2EE
enabled. I was hoping that, before I set about actually fixing the
problem with code that there might be some setting in the
cfapplication
tag that I can use to enable/disable j2ee vars for a specific
application... I'm completely prepared to recode, I just wanted to
check
and see if anyone had an easy way out. Thanks.
mf


-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?falogin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-






--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
-
Annual Sponsor - Figleaf Software

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted 

Re: [ACFUG Discuss] Session variables

2007-08-29 Thread Douglas Knudsen
to use instance clustering, j2ee sessions need to be on.

DK

On 8/29/07, shawn gorrell <[EMAIL PROTECTED]> wrote:
>
> I guess I don't know why anyone would use the old session variables
> anymore. I always use the J2EE session variables instead. Maybe someone can
> enlighten me to the any benefits or trade-offs of either choice.
>
> - Original Message 
> From: Charlie Arehart <[EMAIL PROTECTED]>
> To: discussion@acfug.org
> Sent: Wednesday, August 29, 2007 11:51:46 AM
> Subject: RE: [ACFUG Discuss] Session variables
>
> Just to clarify, this isn't something you can do at the application level
> in CF8. I was under the impression myself for a while that we could do
> pretty much everything at the app level now, but it's just mappings and
> custom tag paths. Perhaps in a later release. :-)
>
> So, no, the J2EE sessions mechanism is a one for all and all for one sort
> of thing (unless of course one runs on Enterprise and creates another
> instance).
>
> /charlie
>
>
>  --
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Douglas
> Knudsen
> *Sent:* Wednesday, August 29, 2007 9:30 AM
> *To:* discussion@acfug.org
> *Subject:* Re: [ACFUG Discuss] Session variables
>
> well...if your on CF8 I believe you can set this at the application
> level.  Aside from that, what is breaking?  In the past I had several apps
> running on a server with standard cf session vars and turned 'use J2EE
> session vars' on without incident.
>
> DK
>
> On 8/29/07, Fennell, Mark P. <[EMAIL PROTECTED]> wrote:
> >
> > Greetings,
> > Is is possible to use J2EE session variables in one CFApplication and
> > standard session variables in another?
> > I have a server that is running two cfapplications and one uses J2EE
> > variables and seems to not work so well when J2EE Sess Vars is disabled
> > in cf admin. The other applications totally breaks if I have J2EE
> > enabled. I was hoping that, before I set about actually fixing the
> > problem with code that there might be some setting in the cfapplication
> > tag that I can use to enable/disable j2ee vars for a specific
> > application... I'm completely prepared to recode, I just wanted to check
> > and see if anyone had an easy way out. Thanks.
> > mf
> >
> >
> > -
> > Annual Sponsor FigLeaf Software - http://www.figleaf.com
> >
> > To unsubscribe from this list, manage your profile @
> > http://www.acfug.org?falogin.edituserform
> >
> > For more info, see http://www.acfug.org/mailinglists
> > Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> > List hosted by http://www.fusionlink.com
> > -
> >
> >
> >
> >
>
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
> -
> Annual Sponsor - Figleaf Software 
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink 
> -
> -
> Annual Sponsor - Figleaf Software 
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink 
> -
>
>
> -
> Annual Sponsor - Figleaf Software 
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink 
> -
>



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?



-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] Session variables

2007-08-29 Thread Charlie Arehart
Shawn, I started to offer some of that info but thought twice (some say my
emails are too long) so I removed it. So since you're asking...:-)
 
If folks don't mind I'd rather point to some blog entries I did back in 2002
where I discussed the pros and cons of the J2EE sessions. I know you're
asking why anyone would stick with the old form, but really, others may
equally ask why they should switch to the new. Or they may have tried and
had problems (which does go to your question)
 
In the entries, I explain the differences and even at least one gotcha
(relatively rare) in using them that I don't think has been resolved.
 
http://cfmxplus.blogspot.com/2002/06/j2ee-session-variables-i-mentioned-in.h
tml
http://cfmxplus.blogspot.com/2002/09/updates-on-problems-with-j2ee-sessions.
html
 
FWIW, I also did a CFDJ article around the same time with some of the same
info, perhaps arranged differently:
 
 
http://cfdj.sys-con.com/read/41646.htm 
And I shared some of what I added in the blog entries in the "feedback" area
of the article as well: http://coldfusion.sys-con.com/read/41646_f.htm. Just
haven't reviewed that info for a while to see if the article and comments or
the blog entries have all the same info, or which would be more
authoritative of what I'd observed.)
 
Hope it's helpful.
 
/charlie
 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shawn gorrell
Sent: Wednesday, August 29, 2007 12:55 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Session variables


I guess I don't know why anyone would use the old session variables anymore.
I always use the J2EE session variables instead. Maybe someone can enlighten
me to the any benefits or trade-offs of either choice. 


- Original Message 
From: Charlie Arehart <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Wednesday, August 29, 2007 11:51:46 AM
Subject: RE: [ACFUG Discuss] Session variables


Just to clarify, this isn't something you can do at the application level in
CF8. I was under the impression myself for a while that we could do pretty
much everything at the app level now, but it's just mappings and custom tag
paths. Perhaps in a later release. :-)
 
So, no, the J2EE sessions mechanism is a one for all and all for one sort of
thing (unless of course one runs on Enterprise and creates another
instance). 
 
/charlie



-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] Session variables

2007-08-29 Thread shawn gorrell
Awesome! Thanks Charlie. For the record I am not one that has a problem with 
your verbose emails. I even read them all the way to the end. Heaven forbid! 
Reading skills FTW!

- Original Message 
From: Charlie Arehart <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Wednesday, August 29, 2007 1:47:00 PM
Subject: RE: [ACFUG Discuss] Session variables



 
DIV {
MARGIN:0px;}



Shawn, I started to offer some of that info but thought 
twice (some say my emails are too long) so I removed it. So since you're 
asking...:-)

 

If folks don't mind I'd rather point to some blog entries I 
did back in 2002 where I discussed the pros and cons of the J2EE sessions. I 
know you're asking why anyone would stick with the old form, but really, others 
may equally ask why they should switch to the new. Or they may have tried and 
had problems (which does go to your question)

 

In the entries, I explain the differences and even at least 
one gotcha (relatively rare) in using them that I don't think has been 
resolved.

 

http://cfmxplus.blogspot.com/2002/06/j2ee-session-variables-i-mentioned-in.html

http://cfmxplus.blogspot.com/2002/09/updates-on-problems-with-j2ee-sessions.html

 

FWIW, 
I also did a CFDJ article around the same time with some of the same info, 
perhaps arranged differently:

 

http://cfdj.sys-con.com/read/41646.htm 

And I shared some of what I added in the blog entries 
in the "feedback" area of the article as 
well: http://coldfusion.sys-con.com/read/41646_f.htm. 
Just haven't reviewed that info for a while to see if the article and comments 
or the blog entries have all the same info, or which would be more 
authoritative 
of what I'd observed.)

 

Hope 
it's helpful.

 

/charlie

 




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of shawn gorrell
Sent: Wednesday, August 29, 2007 
12:55 PM
To: discussion@acfug.org
Subject: Re: [ACFUG 
Discuss] Session variables






I guess I 
don't know why anyone would use the old session variables anymore. I always use 
the J2EE session variables instead. Maybe someone can enlighten me to the any 
benefits or trade-offs of either choice. 


- 
Original Message 
From: Charlie Arehart 
<[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Wednesday, 
August 29, 2007 11:51:46 AM
Subject: RE: [ACFUG Discuss] Session 
variables


Just to clarify, this isn't something you can do at the 
application level in CF8. I was under the impression myself for a while that we 
could do pretty much everything at the app level now, but it's just mappings 
and 
custom tag paths. Perhaps in a later release. :-)

 

So, 
no, the J2EE sessions mechanism is a one for all and all for one sort of thing 
(unless of course one runs on Enterprise and creates another instance). 


 

/charlie




-


Annual Sponsor - Figleaf Software





To unsubscribe from this list, manage your profile @ 


http://www.acfug.org?fa=login.edituserform





For more info, see http://www.acfug.org/mailinglists


Archive @ http://www.mail-archive.com/discussion%40acfug.org/


List hosted by FusionLink


-








-

Annual Sponsor FigLeaf Software - http://www.figleaf.com



To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




RE: [ACFUG Discuss] cfcontent in IE7

2007-08-29 Thread Troy Jones
Thanks for that, it worked. 

Troy Jones
Dynapp Support Team
678-528-2952
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe
Sent: Tuesday, August 28, 2007 6:22 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] cfcontent in IE7

FWIW, you should use the Pragma: no-cache, Expires: 0 and Cache- 
Control: no-cache, no-store, must-revalidate for such requests to  
prevent exactly what Charlie is referring to.

-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"[U]nconstitutional behavior by the authorities is constrained only  
by the peoples' willingness to contest them"
 --John Perry Barlow


On Aug 28, 2007, at 5:54 PM, Charlie Arehart wrote:

> Besides the (as always) sage advice of Dean and Doug, I'll note as  
> well that sometimes when working with this sort of code, things  
> fail simply because the first time you ran the code there was an  
> error, and you fixed it, and refreshed the page, but the browser is  
> still caching the old bad page (or just some aspect of it).
>
> Try closing the browser and reopening it (or even just browsing the  
> page in a new window or tab). Let us know if that works.
>
> There could be other issues, of course. I've not considered your  
> code carefully. This is just such a common problem and easy first  
> solution to try/rule out.
>
> /charlie
>
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Troy Jones
> Sent: Tuesday, August 28, 2007 5:01 PM
> To: discussion@acfug.org
> Subject: [ACFUG Discuss] cfcontent in IE7
>
> Does anyone know why there is an issue in IE7 with ? I  
> used the following code and it works as intended in Firefox but  
> yields a bunch of garbage in IE7. I would appreciate any help I  
> could get.
>
>
>
> 
>
> 
>
> 
>
> 
>
>
>
> Not much help was available from livedocs as this code sample is  
> amost entirely verbatim from their examples.
>
>
>
> Troy Jones
>
> Dynapp Support Team
>
> 678-528-2952
>
>
>
>
> -
> Annual Sponsor - Figleaf Software
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink
> -
> -
> Annual Sponsor - Figleaf Software
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink
> -



-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





RE: [ACFUG Discuss] cfcontent in IE7

2007-08-29 Thread Charlie Arehart
For the benefit of the viewing audience :-),  can you clarify what it was
that "worked" for you, Troy? 

It seems you're referring to Dean's last note, and that may be what you
meant. I'm just curious (for instance, did simply browing the page in a new
window not work for you)?

/charlie

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Troy Jones
Sent: Wednesday, August 29, 2007 4:45 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] cfcontent in IE7

Thanks for that, it worked. 

Troy Jones
Dynapp Support Team
678-528-2952
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe
Sent: Tuesday, August 28, 2007 6:22 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] cfcontent in IE7

FWIW, you should use the Pragma: no-cache, Expires: 0 and Cache-
Control: no-cache, no-store, must-revalidate for such requests to prevent
exactly what Charlie is referring to.

-dhs



-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-