RE: IE 11 not maintaining state

2013-12-19 Thread Eric Roberts

Try clearing your cache.  I had a similar problem in Firefox and that solved
it...  The problem I had, for instance, if I logged into cfadmin, I would
make a change and then click onm the submit changes button...it would bring
me to a login.  Same thing with sites I had to log into.

Eric

-Original Message-
From: Matthew Smith [mailto:chedders...@gmail.com] 
Sent: Friday, December 13, 2013 2:12 PM
To: cf-talk
Subject: IE 11 not maintaining state


Just had the IE 11 update pushed to my development box.  Now, on the site I
am working on, I am getting a new cfid/cftoken with every page request,
ruining state/session management.

What is the easiest work around on this?  I would hate to have to go through
all the site adding #cfid# and #cftoken# to every url...

Also, if I do append cfid/cftoken, how it is handeled when a SE crawls the
site?  Would all the links have the cfid and cftoken assigned for the crawl
in them, causing a problem with everyone coming from that link sharing a
session?  How do you get around this?

Thank you. 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357364
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 and Java 1.7 ?

2013-12-19 Thread Dan G. Switzer, II

We've been running 1.7.0_17 with great success. We recently tried moving to
1.7.0_45, but started to see some very bizarre issues in production so we
rolled back to 17. Things have been fine since rolling back.

The issue we saw was that functions being passed argument collections would
eventually lose the arguments seemly randomly in certain conditions when
the collection was passed through a certain chain of events. We never were
able to boil down the exact cause and it was only biting us in one very
specific piece of code.

On Wednesday, December 18, 2013, Chris 0404tow...@gmail.com wrote:


 Hi all,

 Just thought I'd check back in about compatibility CF9 and Java JDK v1.7
 (now up to 1.7.0_45). It looks like 1.7 is fine with CF9.

 Anybody have any issues?

 many thanks,
 Chris


 On Tue, Aug 13, 2013 at 3:21 PM, Chris 0404tow...@gmail.comjavascript:;
 wrote:

  Thanks Wil, very helpful. And good news, too!
 
  Chris
 
 
  On Tue, Aug 13, 2013 at 3:17 PM, Wil Genovese 
  jugg...@trunkful.comjavascript:;
 wrote:
 
 
  We've been converting out CF9 and CF10 to Java 1.7 at CF Webtools. Here
  is what I wrote up about it.
 
  http://www.trunkful.com/index.cfm/2013/8/8/ColdFusion-on-Java-17
 
 
  Regards,
 
 
 
  Wil Genovese
  Sr. Web Application Developer/
  Systems Administrator
  CF Webtools
  www.cfwebtools.com
 
  wilg...@trunkful.com javascript:;
  www.trunkful.com
 
  On Aug 13, 2013, at 2:11 PM, Chris 0404tow...@gmail.com javascript:;
 wrote:
 
  
   Hi, are many people using CF 9 and Java 1.7 ?  With Cumulative HotFix
 4,
   CF9 should now support Java 1.7.
  
   Just wondering how it's working. I see a couple issues in
   https://bugbase.adobe.com
  
   thanks,
   Chris
  
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357365
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: per application settings

2013-12-19 Thread Adam Cameron

I am trying to set up some local mappings (CF9) and it doiesn't seem to
recognize it.  I have this as part of several variables that are set before
the 1st function in my application.cfc...

cfset this.mappings[ /cup ] = #application.cuproot#/cup

What ended up happening with this?

-- 
Adam 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357366
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cffile read 47 MB

2013-12-19 Thread Russ Michaels

Do you need to read the whole file in or could you process it line by line

Russ Michaels
www.michaels.me.uk
cfmldeveloper.com
cflive.net
cfsearch.com
On 19 Dec 2013 06:54, John M Bliss bliss.j...@gmail.com wrote:


 The FileRead function seems to have the same problem as cffile. Java heap
 space errors. Am I doing something wrong?


 On Mon, Dec 9, 2013 at 5:34 PM, richpaul7 . richpa...@gmail.com wrote:

 
  use the FileRead function.  it can handle large files and doesn't suck up
  all the resources.  forget trying to use CFFILE for large files.
 
 
 
 http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_e-g_13.html
 
 
 
 
  On Mon, Dec 9, 2013 at 2:30 PM, Russ Michaels r...@michaels.me.uk
 wrote:
 
  
   On 32bit you can only use around 1gb, it will fail to start if you
 assign
   too much.
  
   Russ Michaels
   www.michaels.me.uk
   cfmldeveloper.com
   cflive.net
   cfsearch.com
   On 9 Dec 2013 22:25, John M Bliss bliss.j...@gmail.com wrote:
  
   
And for 32 bit?
On Dec 9, 2013 5:14 PM, Steve 'Cutter' Blades 
cold.fus...@cutterscrossing.com wrote:
   

 Looks like you're still using the default install values. On a
 64-bit
 system, I generally look at my overall RAM available, subtract 2GB
  for
 the OS, then adjust my CF RAM availability according to what's
 left,
 starting at 1 GB max, 256 min, then gradually move up half a gig as
 required. Finding the right balance in your JVM config (min, max,
 gc,
 etc) can really help tweak the performance of your application.

 Steve 'Cutter' Blades
 Adobe Community Professional
 Adobe Certified Expert
 Advanced Macromedia ColdFusion MX 7 Developer
 
 http://cutterscrossing.com


 Co-Author Learning Ext JS 3.2 Packt Publishing 2010


   
  
 
 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

 The best way to predict the future is to help create it

 On 12/9/2013 4:01 PM, John M Bliss wrote:
  Hi, I'm attempting to perform a cffile read on a 47 MB XML file.
  It's
  failing but ACF10 is not throwing an error to the browser.
 Finally
   dug
 into
  the logs and am seeing Java heap space errors. My JVM is
  configured
as
  such:
 
  Min JVM Heap Size - 256
  Max JVM Heap Size - 512
  JVM Arguments - -XX:MaxPermSize=192m
 
  Solution is just to increase those numbers? Does this behavior
 seem
odd?
 




   
   
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357367
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cffile read 47 MB

2013-12-19 Thread John M Bliss

I found a way to reduce the size of the XML, so this is no longer an issue
(for me). Thanks for the advice!


On Thu, Dec 19, 2013 at 3:56 AM, Russ Michaels r...@michaels.me.uk wrote:


 Do you need to read the whole file in or could you process it line by line

 Russ Michaels
 www.michaels.me.uk
 cfmldeveloper.com
 cflive.net
 cfsearch.com
 On 19 Dec 2013 06:54, John M Bliss bliss.j...@gmail.com wrote:

 
  The FileRead function seems to have the same problem as cffile. Java
 heap
  space errors. Am I doing something wrong?
 
 
  On Mon, Dec 9, 2013 at 5:34 PM, richpaul7 . richpa...@gmail.com wrote:
 
  
   use the FileRead function.  it can handle large files and doesn't suck
 up
   all the resources.  forget trying to use CFFILE for large files.
  
  
  
 
 http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_e-g_13.html
  
  
  
  
   On Mon, Dec 9, 2013 at 2:30 PM, Russ Michaels r...@michaels.me.uk
  wrote:
  
   
On 32bit you can only use around 1gb, it will fail to start if you
  assign
too much.
   
Russ Michaels
www.michaels.me.uk
cfmldeveloper.com
cflive.net
cfsearch.com
On 9 Dec 2013 22:25, John M Bliss bliss.j...@gmail.com wrote:
   

 And for 32 bit?
 On Dec 9, 2013 5:14 PM, Steve 'Cutter' Blades 
 cold.fus...@cutterscrossing.com wrote:

 
  Looks like you're still using the default install values. On a
  64-bit
  system, I generally look at my overall RAM available, subtract
 2GB
   for
  the OS, then adjust my CF RAM availability according to what's
  left,
  starting at 1 GB max, 256 min, then gradually move up half a gig
 as
  required. Finding the right balance in your JVM config (min, max,
  gc,
  etc) can really help tweak the performance of your application.
 
  Steve 'Cutter' Blades
  Adobe Community Professional
  Adobe Certified Expert
  Advanced Macromedia ColdFusion MX 7 Developer
  
  http://cutterscrossing.com
 
 
  Co-Author Learning Ext JS 3.2 Packt Publishing 2010
 
 

   
  
 
 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book
 
  The best way to predict the future is to help create it
 
  On 12/9/2013 4:01 PM, John M Bliss wrote:
   Hi, I'm attempting to perform a cffile read on a 47 MB XML
 file.
   It's
   failing but ACF10 is not throwing an error to the browser.
  Finally
dug
  into
   the logs and am seeing Java heap space errors. My JVM is
   configured
 as
   such:
  
   Min JVM Heap Size - 256
   Max JVM Heap Size - 512
   JVM Arguments - -XX:MaxPermSize=192m
  
   Solution is just to increase those numbers? Does this behavior
  seem
 odd?
  
 
 
 
 


   
   
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357368
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Scheduled Tasks Oddity

2013-12-19 Thread John M Bliss

 Do you have any browser-sniffing code that's been added recently, such as
something for a mobile site?

No.

 Are the task names capitalised? I assume they are not, and probably mixed
case. Re-creating tasks with mixed cases tends to cause them to stop
working. The only fix I have found is to make sure to always use capital
names in CF10.

Some are all-caps and some are mixed-case. All were failing to run.

 don;t know how often you are running it, but maybe this might help
http://blog.dkferguson.com/index.cfm/2012/12/6/ColdFusion-10-Scheduled-tasks-and-misfires

Interesting. I'll have a look at that...


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357369
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: IE 11 not maintaining state

2013-12-19 Thread Scott Stroz

Is it just on your development server? By any chance does the URL you use
for the site have an underscore in it? There is an old bug in IE 7 or 8
where by the browser cannot maintain state if there is an underscore in the
domain name used. Maybe this bug somehow popped back up in IE 11?


On Fri, Dec 13, 2013 at 3:12 PM, Matthew Smith chedders...@gmail.comwrote:


 Just had the IE 11 update pushed to my development box.  Now, on the site
 I am working on, I am getting a new cfid/cftoken with every page request,
 ruining state/session management.

 What is the easiest work around on this?  I would hate to have to go
 through all the site adding #cfid# and #cftoken# to every url...

 Also, if I do append cfid/cftoken, how it is handeled when a SE crawls the
 site?  Would all the links have the cfid and cftoken assigned for the crawl
 in them, causing a problem with everyone coming from that link sharing a
 session?  How do you get around this?

 Thank you.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357370
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: IE 11 not maintaining state

2013-12-19 Thread Scott Stroz

More to the point, it cannot set cookies from a domain with an underscore
in it.


On Thu, Dec 19, 2013 at 8:22 AM, Scott Stroz boyz...@gmail.com wrote:

 Is it just on your development server? By any chance does the URL you use
 for the site have an underscore in it? There is an old bug in IE 7 or 8
 where by the browser cannot maintain state if there is an underscore in the
 domain name used. Maybe this bug somehow popped back up in IE 11?


 On Fri, Dec 13, 2013 at 3:12 PM, Matthew Smith chedders...@gmail.comwrote:


 Just had the IE 11 update pushed to my development box.  Now, on the site
 I am working on, I am getting a new cfid/cftoken with every page request,
 ruining state/session management.

 What is the easiest work around on this?  I would hate to have to go
 through all the site adding #cfid# and #cftoken# to every url...

 Also, if I do append cfid/cftoken, how it is handeled when a SE crawls
 the site?  Would all the links have the cfid and cftoken assigned for the
 crawl in them, causing a problem with everyone coming from that link
 sharing a session?  How do you get around this?

 Thank you.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357371
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cffile read 47 MB

2013-12-19 Thread richpaul7 .

maybe try using FileOpen, then FileRead

myfile = FileOpen(c:\temp\test1.txt, read);
x = FileRead(myfile, 100);



On Thu, Dec 19, 2013 at 12:56 AM, Russ Michaels r...@michaels.me.uk wrote:


 Do you need to read the whole file in or could you process it line by line

 Russ Michaels
 www.michaels.me.uk
 cfmldeveloper.com
 cflive.net
 cfsearch.com
 On 19 Dec 2013 06:54, John M Bliss bliss.j...@gmail.com wrote:

 
  The FileRead function seems to have the same problem as cffile. Java
 heap
  space errors. Am I doing something wrong?
 
 
  On Mon, Dec 9, 2013 at 5:34 PM, richpaul7 . richpa...@gmail.com wrote:
 
  
   use the FileRead function.  it can handle large files and doesn't suck
 up
   all the resources.  forget trying to use CFFILE for large files.
  
  
  
 
 http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_e-g_13.html
  
  
  
  
   On Mon, Dec 9, 2013 at 2:30 PM, Russ Michaels r...@michaels.me.uk
  wrote:
  
   
On 32bit you can only use around 1gb, it will fail to start if you
  assign
too much.
   
Russ Michaels
www.michaels.me.uk
cfmldeveloper.com
cflive.net
cfsearch.com
On 9 Dec 2013 22:25, John M Bliss bliss.j...@gmail.com wrote:
   

 And for 32 bit?
 On Dec 9, 2013 5:14 PM, Steve 'Cutter' Blades 
 cold.fus...@cutterscrossing.com wrote:

 
  Looks like you're still using the default install values. On a
  64-bit
  system, I generally look at my overall RAM available, subtract
 2GB
   for
  the OS, then adjust my CF RAM availability according to what's
  left,
  starting at 1 GB max, 256 min, then gradually move up half a gig
 as
  required. Finding the right balance in your JVM config (min, max,
  gc,
  etc) can really help tweak the performance of your application.
 
  Steve 'Cutter' Blades
  Adobe Community Professional
  Adobe Certified Expert
  Advanced Macromedia ColdFusion MX 7 Developer
  
  http://cutterscrossing.com
 
 
  Co-Author Learning Ext JS 3.2 Packt Publishing 2010
 
 

   
  
 
 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book
 
  The best way to predict the future is to help create it
 
  On 12/9/2013 4:01 PM, John M Bliss wrote:
   Hi, I'm attempting to perform a cffile read on a 47 MB XML
 file.
   It's
   failing but ACF10 is not throwing an error to the browser.
  Finally
dug
  into
   the logs and am seeing Java heap space errors. My JVM is
   configured
 as
   such:
  
   Min JVM Heap Size - 256
   Max JVM Heap Size - 512
   JVM Arguments - -XX:MaxPermSize=192m
  
   Solution is just to increase those numbers? Does this behavior
  seem
 odd?
  
 
 
 
 


   
   
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357372
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: IE 11 not maintaining state

2013-12-19 Thread Byron Mann

When you say pushed to your machine, is the machine on a managed domain?
Could it be your IE settings were reset by a domain policy during the
install?

Maybe it is something simple like cookies being disabled in IE after the
install. Did you try adding the domain as a trusted site in the IE security
settings?

Byron Mann
Lead Engineer  Architect
HostMySite.com
On Dec 18, 2013 6:26 PM, Matthew Smith chedders...@gmail.com wrote:


 Just had the IE 11 update pushed to my development box.  Now, on the site
 I am working on, I am getting a new cfid/cftoken with every page request,
 ruining state/session management.

 What is the easiest work around on this?  I would hate to have to go
 through all the site adding #cfid# and #cftoken# to every url...

 Also, if I do append cfid/cftoken, how it is handeled when a SE crawls the
 site?  Would all the links have the cfid and cftoken assigned for the crawl
 in them, causing a problem with everyone coming from that link sharing a
 session?  How do you get around this?

 Thank you.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357373
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm