RE: [ACFUG Discuss] client scope not updating

2007-04-06 Thread Darin Kohles
If your functions do not live under the same web root as your Flash, but
rely on CF mapping, you might want to set up an extension file locally.
This basically instantiates the cfc in the local scope:

cfcomponent extends=CFMapping.cfcFile
/cfcomponent

Darin Kohles, Application Developer
[EMAIL PROTECTED]
Digital Positions, Inc.
2289 Peachtree Road NE
Atlanta, GA 30309

404-351-2366 phone
404-351-4055 fax
http://www.d-p.com/ 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Ross
Sent: Thursday, April 05, 2007 5:40 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] client scope not updating

Size isn't the issue. We are storing them in the browser but, here is
the funky part. We are calling the methods via the query string. They
are CFC's being called via flash with the remote flag set on the
function.

Should this work?

-Steven

On 4/5/07, Dean H. Saxe [EMAIL PROTECTED] wrote:
 Where is the client scope set?  DB or cookies?  If its DB, make sure 
 the size of the data is not greater than the column width.  If its 
 cookies, make sure the data isn't longer than the acceptable size for 
 all cookies for a domain, 4k iirc.

 -dhs


 Dean H. Saxe, CISSP, CEH
 [EMAIL PROTECTED]
 What difference does it make to the dead,  the orphans, and the 
 homeless, whether the  mad destruction is wrought under the name of 
 totalitarianism or the holy name of  liberty and democracy? 
  --Gandhi


 On Apr 5, 2007, at 5:25 PM, Steven Ross wrote:

  We have one place in our application where we are trying to set a 
  variable in the client scope and I can see in the logs that the new 
  values are going in (and being set) but, when I read them back out I

  get the values at login.
 
  Ok, I have checked the url token and it is correct on all the 
  requests.
 
  this is really bugging me...
 
  -Steven
 
  --
  Steven Ross
  web application  interface developer http://www.zerium.com [mobile]

  404-488-4364 [fax] 267-482-4364
 
 
  -
  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
  -
 
 
 



 -
 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
 -






--
Steven Ross
web application  interface developer
http://www.zerium.com
[mobile] 404-488-4364
[fax] 267-482-4364


-
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
-





-
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] client scope not updating

2007-04-06 Thread Steven Ross

Our flash application is under the same webroot as our cfc's.

I have talked to some other folks and it seems like this is either a
bug or it is just an undocumented limitation [ is that the same thing?
; )  ]

We see the request come in and log the client scope and then when the
page returns it gets reset back to what it was before.


-Steven

On 4/6/07, Darin Kohles [EMAIL PROTECTED] wrote:

If your functions do not live under the same web root as your Flash, but
rely on CF mapping, you might want to set up an extension file locally.
This basically instantiates the cfc in the local scope:

cfcomponent extends=CFMapping.cfcFile
/cfcomponent

Darin Kohles, Application Developer
[EMAIL PROTECTED]
Digital Positions, Inc.
2289 Peachtree Road NE
Atlanta, GA 30309

404-351-2366 phone
404-351-4055 fax
http://www.d-p.com/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Ross
Sent: Thursday, April 05, 2007 5:40 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] client scope not updating

Size isn't the issue. We are storing them in the browser but, here is
the funky part. We are calling the methods via the query string. They
are CFC's being called via flash with the remote flag set on the
function.

Should this work?

-Steven

On 4/5/07, Dean H. Saxe [EMAIL PROTECTED] wrote:
 Where is the client scope set?  DB or cookies?  If its DB, make sure
 the size of the data is not greater than the column width.  If its
 cookies, make sure the data isn't longer than the acceptable size for
 all cookies for a domain, 4k iirc.

 -dhs


 Dean H. Saxe, CISSP, CEH
 [EMAIL PROTECTED]
 What difference does it make to the dead,  the orphans, and the
 homeless, whether the  mad destruction is wrought under the name of
 totalitarianism or the holy name of  liberty and democracy? 
  --Gandhi


 On Apr 5, 2007, at 5:25 PM, Steven Ross wrote:

  We have one place in our application where we are trying to set a
  variable in the client scope and I can see in the logs that the new
  values are going in (and being set) but, when I read them back out I

  get the values at login.
 
  Ok, I have checked the url token and it is correct on all the
  requests.
 
  this is really bugging me...
 
  -Steven
 
  --
  Steven Ross
  web application  interface developer http://www.zerium.com [mobile]

  404-488-4364 [fax] 267-482-4364
 
 
  -
  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
  -
 
 
 



 -
 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
 -






--
Steven Ross
web application  interface developer
http://www.zerium.com
[mobile] 404-488-4364
[fax] 267-482-4364


-
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
-





-
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
-







--
Steven Ross
web application  interface developer
http://www.zerium.com
[mobile] 404-488-4364
[fax] 267-482-4364


-
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] IIS 5, CF, and gzip

2007-04-06 Thread Douglas Knudsen

Ok, I know we saw John's preso and he covered this, but I was messing with
this today with Tomcat and Flex, worked a treat.  Os, why can't I get this
to work with IIS, CF, and remoting in CF?

I read this
http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/iis/maintain/featusability/httpcomp.mspx

indicates you can add file extensions to the script file caching.  Adding
cfm to it doesn't seem to do anything.  Is it possible this way?


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



-
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] IIS 5, CF, and gzip

2007-04-06 Thread John Mason
Do you have to use IIS 5? Caching in IIS 6 is far easier to do and a lot
less buggy.
 
John
[EMAIL PROTECTED]
 
 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
Sent: Friday, April 06, 2007 2:05 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] IIS 5, CF, and gzip


Ok, I know we saw John's preso and he covered this, but I was messing with
this today with Tomcat and Flex, worked a treat.  Os, why can't I get this
to work with IIS, CF, and remoting in CF?

I read this
http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/ii
s/maintain/featusability/httpcomp.mspx
http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/i
is/maintain/featusability/httpcomp.mspx 

indicates you can add file extensions to the script file caching.  Adding
cfm to it doesn't seem to do anything.  Is it possible this way?


-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it? 
- 
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 http://www.fusionlink.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] IIS 5, CF, and gzip

2007-04-06 Thread Douglas Knudsen

yeah, stuck in IIS 5 for now.  Big cost here to start migrating data centers
to win 2003!  Some movement is about on migrating to linux though and I'm
seriously thinking of moving to Apache, which would make this a no brainer,
eh?  But some future SSO stuff may keep me from doing it, its cake to hit
the AD with IIS.

I just ran across this too...
http://coldfusion.sys-con.com/read/345934.htm

Its not the end of the world here if no gzip, we are on a intranet with high
bandwidth.  But it could really help for those 1000+ rows of data the user
just have to have 'at a glance' in their browser.

DK

On 4/6/07, John Mason [EMAIL PROTECTED] wrote:


 Do you have to use IIS 5? Caching in IIS 6 is far easier to do and a lot
less buggy.

John
[EMAIL PROTECTED]



 --
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Douglas
Knudsen
*Sent:* Friday, April 06, 2007 2:05 PM
*To:* discussion@acfug.org
*Subject:* [ACFUG Discuss] IIS 5, CF, and gzip

Ok, I know we saw John's preso and he covered this, but I was messing with
this today with Tomcat and Flex, worked a treat.  Os, why can't I get this
to work with IIS, CF, and remoting in CF?

I read this
http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/iis/maintain/featusability/httpcomp.mspx


indicates you can add file extensions to the script file caching.  Adding
cfm to it doesn't seem to do anything.  Is it possible this way?


--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
-
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 http://www.fusionlink.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 FusionLink http://www.fusionlink.com
-





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



-
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] IIS 5, CF, and gzip

2007-04-06 Thread Douglas Knudsen

well, cranked up Charles and looks like it is working

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 06 Apr 2007 18:37:24 GMT
X-Powered-By: ASP.NET
Connection: close
Set-Cookie: CFID=82905;path=/
Set-Cookie:
CFTOKEN=7a28c93e3a77dd6d%2DC80163897D0%2D802E%2DDC80%2D89CC5C72D1D64F2C;path=/
Content-Language: en-US
Content-Type: text/html; charset=UTF-8
Content-Encoding: gzip
Transfer-Encoding: chunked
Expires: Wed, 01 Jan 1997 12:00:00 GMT
Cache-Control: max-age=0
Vary: Accept-Encoding


On 4/6/07, Douglas Knudsen [EMAIL PROTECTED] wrote:


yeah, stuck in IIS 5 for now.  Big cost here to start migrating data
centers to win 2003!  Some movement is about on migrating to linux though
and I'm seriously thinking of moving to Apache, which would make this a no
brainer, eh?  But some future SSO stuff may keep me from doing it, its cake
to hit the AD with IIS.

I just ran across this too...
http://coldfusion.sys-con.com/read/345934.htm

Its not the end of the world here if no gzip, we are on a intranet with
high bandwidth.  But it could really help for those 1000+ rows of data the
user just have to have 'at a glance' in their browser.

DK

On 4/6/07, John Mason [EMAIL PROTECTED] wrote:

  Do you have to use IIS 5? Caching in IIS 6 is far easier to do and a
 lot less buggy.

 John
 [EMAIL PROTECTED]



  --
 *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Douglas
 Knudsen
 *Sent:* Friday, April 06, 2007 2:05 PM
 *To:* discussion@acfug.org
 *Subject:* [ACFUG Discuss] IIS 5, CF, and gzip

 Ok, I know we saw John's preso and he covered this, but I was messing
 with this today with Tomcat and Flex, worked a treat.  Os, why can't I get
 this to work with IIS, CF, and remoting in CF?

 I read this
 
http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/iis/maintain/featusability/httpcomp.mspx


 indicates you can add file extensions to the script file caching.
 Adding cfm to it doesn't seem to do anything.  Is it possible this way?


 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?
 -
 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 http://www.fusionlink.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 FusionLink http://www.fusionlink.com
 -




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





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



-
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] DreamWeaver Regular Expression Find and Replace

2007-04-06 Thread Benjamin Bloodworth
The DreamWeaver documentation says that you can use the caret symbol ^ in a
regular expression to the match the beginning of input or line.  Does anyone
know how to make it match based on line and not the start of the document?

 

Example Text

1.

2.

3.

 

Regular Expression

^[0-9]\.

 

This only matches the first line, not the 2nd and 3rd lines.  I want it to
match all three lines.  Yes, I have checked the Use Regular Expressions
checkbox.

 

Benjamin Bloodworth

[EMAIL PROTECTED]

850.201.0928

 




-
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] IIS 5, CF, and gzip

2007-04-06 Thread John Mason
Working with the metabase is fine. Just make sure you have good backups in
case something goes wrong. There's not much info on it because most people
don't go there :) Looks like you got the main items knocked out though
already. Feel free to emaill me off list if you have any particular issues
with it.
 
John
[EMAIL PROTECTED]
 
 
 


  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
Sent: Friday, April 06, 2007 3:39 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] IIS 5, CF, and gzip


yup, Charles shows the compressed response with all the gobbly gook chars as
well as the decompressed response.

I'm using metaedit to work IIS5 settings for this.  not exactly a nice GUI.

Trying to google on what is broken in iis5 compression, most what I read
seems to not really matter to me.  Any pointers on this? 

Going to leave it on for our dev and staging instances and see for a month
or two.

Dk


On 4/6/07, John Mason  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote: 

Does the body of the response look compressed (a bunch of random
characters)? Just making sure. It does look like you have gzip turn on.
 
Compression in Apache is a breeze specially on linux. IIS 5 first
implemented compression on the Microsoft side but it's not very good. They
worked out the bugs with IIS 6 but left you little to no admin interface to
manage it. That was part of you preso that talked about port80software.com
they have the addons that make all this a lot easier to setup and manage on
the IIS side of things.
 
John
 
 

  _  

From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] 
On
Behalf Of Douglas Knudsen
Sent: Friday, April 06, 2007 2:40 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] IIS 5, CF, and gzip



well, cranked up Charles and looks like it is working

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 06 Apr 2007 18:37:24 GMT
X-Powered-By: ASP.NET
Connection: close
Set-Cookie: CFID=82905;path=/
Set-Cookie:
CFTOKEN=7a28c93e3a77dd6d%2DC80163897D0%2D802E%2DDC80%2D89CC5C72D1D64F2C;path
=/
Content-Language: en-US
Content-Type: text/html; charset=UTF-8
Content-Encoding: gzip
Transfer-Encoding: chunked
Expires: Wed, 01 Jan 1997 12:00:00 GMT
Cache-Control: max-age=0
Vary: Accept-Encoding



On 4/6/07, Douglas Knudsen [EMAIL PROTECTED] wrote: 

yeah, stuck in IIS 5 for now.  Big cost here to start migrating data centers
to win 2003!  Some movement is about on migrating to linux though and I'm
seriously thinking of moving to Apache, which would make this a no brainer,
eh?  But some future SSO stuff may keep me from doing it, its cake to hit
the AD with IIS. 

I just ran across this too...
http://coldfusion.sys-con.com/read/345934.htm
http://coldfusion.sys-con.com/read/345934.htm 

Its not the end of the world here if no gzip, we are on a intranet with high
bandwidth.  But it could really help for those 1000+ rows of data the user
just have to have 'at a glance' in their browser.  

DK 



On 4/6/07, John Mason   mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
wrote: 

Do you have to use IIS 5? Caching in IIS 6 is far easier to do and a lot
less buggy.
 
John
[EMAIL PROTECTED] 
 
 

  _  

From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] 
On
Behalf Of Douglas Knudsen
Sent: Friday, April 06, 2007 2:05 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] IIS 5, CF, and gzip



Ok, I know we saw John's preso and he covered this, but I was messing with
this today with Tomcat and Flex, worked a treat.  Os, why can't I get this
to work with IIS, CF, and remoting in CF?

I read this
http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/ii
s/maintain/featusability/httpcomp.mspx
http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/i
is/maintain/featusability/httpcomp.mspx 

indicates you can add file extensions to the script file caching.  Adding
cfm to it doesn't seem to do anything.  Is it possible this way?


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

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
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 http://www.fusionlink.com  
- 

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
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 http://www.fusionlink.com  
- 




-- 
Douglas Knudsen