RE: Compare/Diff functionality

2004-10-17 Thread Hugo Ahlenius
or here:
http://unxutils.sourceforge.net/

--
Hugo Ahlenius

-
Hugo Ahlenius  E-Mail: [EMAIL PROTECTED]
Project Officer    Phone:+46 8 230460
UNEP GRID-Arendal  Fax:  +46 8 230441
Stockholm Office   Mobile: +46 733 467111
   WWW:   http://www.grida.no
- 



| -Original Message-
| From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
| Sent: Friday, October 15, 2004 19:24
| To: CF-Talk
| Subject: Re: Compare/Diff functionality
|
| Micha Schopman wrote:
| >
| > I also looked at those possibilities but diff is only
| available on Linux, where it has been integrated.
|
| Not just Linux, every POSIX OS. I believe it is available
| from Microsoft in the SFU package (formerly known as Interix).
|
| Jochem
|
|
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Caching CFC/web services?

2004-10-17 Thread Barney Boisvert
You can't use CFCACHE for caching the result.  However, you can easily
cache it manually.  Inside your CFC, before you return the result,
store it in an application-scope variable.  Then, before you do the
processing, add a check to see if that variable is defined.  If it is,
just return it, and skip the processing.

Here's some psuedo-code:


  
  
    
    
  
  


If you need to automatically expire the cache, you can set up a
scheduled task that will delete that variable from the application
scope as needed.

cheers,
barneyb

On Sun, 17 Oct 2004 23:42:56 -0400, Johnny Le <[EMAIL PROTECTED]> wrote:
> Is it possible to cache the result of a web service?  I created a web
> service to use in my flash application, but it takes a long time to return
> the result.  Since the result is not going to change often, I wonder if I
> could cache it.
> 
> If so, where should I put the cfcache tag?  Outside the component tag?
> Inside the component tag but outside the method? Or inside the method?
> 
> Johnny
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

I currently have 2 GMail invites for the taking
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Does application.cfm run on files within frames?

2004-10-17 Thread Mike Kear
Thanks, Dave. That's what I thought, but its bad news because the fix
is not a simple one in this case.   The guy before me who wrote the
code I'm trying to fix figured the best way to do logic was to emulate
emulate ivy - have it running everywhere and looping around on itself,
back and forth.  For him, more code was better than less, and if one
CFIF statement was good, then a dozen must be terrific.

(sigh)

Thanks a lot anyway.

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year

On Sun, 17 Oct 2004 23:21:55 -0400, Dave Watts <[EMAIL PROTECTED]> wrote:
> > I understood that application.cfm runs for all templates 
> > opened, and doesnt care if they're run to go inside frames, 
> > or iframes or popups or anywhere.
> 
> Yes, that's correct.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF_ColoredCode

2004-10-17 Thread Brad Roberts
Here's an example:
http://www.bradroberts.net/coloredcode/

-Brad
  - Original Message - 
  From: Ray Champagne 
  To: CF-Talk 
  Sent: Friday, October 15, 2004 4:02 PM
  Subject: Re: CF_ColoredCode

  Just curious...what is it?

  Ray

  At 03:50 PM 10/15/2004, you wrote:
  >Does anyone have (or know where I can download) the latest version of Dain 
  >Anderson's CF_ColoredCode?  cfcomet.com is down...
  >
  >Thanks,
  >
  >Brad
  >
  >
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: database client storage with multiple CFMX instances

2004-10-17 Thread Mike Kear
Just make sure that your application names are different from each
other.   The variables are stored in the database table, and you can
query them like any other table, but you need to sort out your
variables from someone else's.    One way is to know the CFID of the
variables, but it's  often useful to select all your own site's
variables, in which case you select  " ... where application =
'myApplication' "

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year

> Yes, you can use a single database to store client variables for multiple
> instances, or even multiple physical servers within a web server cluster.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> phone: 202-797-5496
> fax: 202-797-5444
> 
--
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Does application.cfm run on files within frames?

2004-10-17 Thread Dave Watts
> I understood that application.cfm runs for all templates 
> opened, and doesnt care if they're run to go inside frames, 
> or iframes or popups or anywhere.

Yes, that's correct.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: database client storage with multiple CFMX instances

2004-10-17 Thread Dave Watts
> I have several CFMX instances running on JRun, and would like 
> to set the Client Variable storage to be a SQL Server 
> datasource. Can all instances use the same database for 
> client variable storage, or will I need to create a separate 
> database for each instance?

Yes, you can use a single database to store client variables for multiple
instances, or even multiple physical servers within a web server cluster.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Caching CFC/web services?

2004-10-17 Thread Johnny Le
Is it possible to cache the result of a web service?  I created a web
service to use in my flash application, but it takes a long time to return
the result.  Since the result is not going to change often, I wonder if I
could cache it.

If so, where should I put the cfcache tag?  Outside the component tag?
Inside the component tag but outside the method? Or inside the method?

Johnny
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Does application.cfm run on files within frames?

2004-10-17 Thread Mike Kear
I've got an app, where I'm trying to work out why the login check isnt
working on some files.   When I call the templates using  links and
buttons, the login check works.  When I call the file using its url
typed into the browser, the login check doesnt happen.

These files are in the content frame of a framed page, so I'm
wondering whether perhaps the application.cfm (which contains the
login check logic) isnt running on these files.    But that isnt right
is it?

I understood that application.cfm runs for all templates opened, and
doesnt care if they're run to go inside frames, or iframes or popups
or anywhere.

Right?

-- 
Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: application.cfm and headers

2004-10-17 Thread Russell Patterson
Ha! Ha! Ha!  I understand that!  

Russell
  - Original Message - 
  From: Phillip Perry 
  To: CF-Talk 
  Sent: Sunday, October 17, 2004 4:02 PM
  Subject: RE: application.cfm and headers

  -Original Message-
  From: Barney Boisvert [mailto:[EMAIL PROTECTED]
  Sent: Sunday, October 17, 2004 4:56 PM
  To: CF-Talk
  Subject: Re: application.cfm and headers

    or perhaps use something like Fusebox

    I downloaded fusebox the other day to see what it was about and my head
  almost exploded with confusion :)

    Thanks though
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




email, pause while looping through list

2004-10-17 Thread mayo
I'm trying to send emails.

Because of spam issues the client's hosting provider has put limits on how
many emails can be sent at one time.

I can send 20 emails/3 minutes.

I'm wondering what the best way to do this is?



I'm not sure how to create the pause.

ex:







	PAUSE


	
		...
	






Thx, hope this is clear
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Problem With Form Processing - Need Help

2004-10-17 Thread Douglas Knudsen
something seem s odd about ur logic here.  For one, ehy wrap the UDF
in the form.process check?  Maybe try it like below.  You had a
argument for teh UDF too, but not using it.  Is form.process a form
control ?   If nothing else, this direction below may lead you to
something fruitful...HTH





   



returntype="array">

   
 

 
len(form.city)  or not len(form.country)  or not len(form.mgender) or not
len(form.dob1) or not len(form.title) or not len(form.message) or not
len(form.yold) or not len(form.mold)>




= ArrayNew(1)>


[1] = StructNew()>


emessage[1].ecode = "main">


emessage[1].edisplay = "Required fields are blank">










   
 Sign Up Form - Error">


    

Sign Up Form ">



Doug

On Sun, 17 Oct 2004 14:11:12 -0700, Harold Brauer <[EMAIL PROTECTED]> wrote:
> I am working on this UDF, making an array of structures so that if there is
> an error on my form it will send the user back, highlight the fields that
> need to be filled in and display an error message. The problem I am having
> is that the Array is being set BEFORE the form is processed. The form is
> being submitted back to itself as you can see in the code below. Can anyone
> tell me what I am doing wrong?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> returntype="array">
> 
> 
> required="yes">
> 
>  
> 
>  
> len(form.city)  or not len(form.country)  or not len(form.mgender) or not
> len(form.dob1) or not len(form.title) or not len(form.message) or not
> len(form.yold) or not len(form.mold)>
> 
> 
> 
> 
> = ArrayNew(1)>
> 
> 
> [1] = StructNew()>
> 
> 
> emessage[1].ecode = "main">
> 
> 
> emessage[1].edisplay = "Required fields are blank">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>    
>  Sign Up Form - Error">
> 
> 
> 
> 
> Sign Up Form ">
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Connection Reset By Peer

2004-10-17 Thread Rich Tretola
I have thousands of entries like the following in my default-err.log file, the only difference in the type of error in the top line where I wrote "type"

10/17 18:19:26 error Error while reading header "type"

java.net.SocketException: Connection reset by peer: socket write error

	at java.net.SocketOutputStream.socketWrite0(Native Method)

	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)

	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)

	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)

	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)

	at jrun.servlet.jrpp.ProxyEndpoint.getHeader(ProxyEndpoint.java:694)

	at javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWrapper.java:124)

	at javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWrapper.java:124)

	at coldfusion.runtime.CgiScope.resolve(CgiScope.java:131)

	at coldfusion.runtime.CgiScope.containsName(CgiScope.java:265)

	at coldfusion.runtime.CgiScope.search(CgiScope.java:298)

	at coldfusion.runtime.NeoPageContext.searchScopes(NeoPageContext.java:540)

	at coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:465)

	at coldfusion.runtime.PageScope.resolveName(PageScope.java:51)

	at coldfusion.runtime.Scope.put(Scope.java:63)

	at coldfusion.runtime.CfJspPage._arrayset(CfJspPage.java:601)

	at coldfusion.runtime.NeoPageContext.SymTab_setSplitNameInMap(NeoPageContext.java:1081)

	at coldfusion.runtime.NeoPageContext.SymTab_setValidatedSplitNameInString(NeoPageContext.java:1051)

	at coldfusion.runtime.NeoPageContext.SymTab_setValidatedDottedName(NeoPageContext.java:1127)

	at coldfusion.runtime.NeoPageContext.setValidatedAttribute(NeoPageContext.java:408)

	at coldfusion.runtime.NeoPageContext.setAttribute(NeoPageContext.java:276)

	at coldfusion.runtime.CfJspPage._set(CfJspPage.java:229)

	at cfsavecontent2ecfm53565969.runPage(D:\CFusionMX\wwwroot\WEB-INF\cftags\savecontent.cfm:11)

	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)

	at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:60)

	at coldfusion.tagext.lang.ModuleTag.doAfterBody(ModuleTag.java:334)

	at cfexception_en2exml1292475224.runPage(D:\CFusionMX\wwwroot\WEB-INF\exception\exception_en.xml:33)

	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)

	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)

	at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1871)

	at cfdetail2ecfm1479020496.runPage(D:\CFusionMX\wwwroot\WEB-INF\exception\detail.cfm:33)

	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)

	at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:60)

	at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:256)

	at cfException2ecfm86747634.runPage(D:\CFusionMX\wwwroot\WEB-INF\exception\java\lang\Exception.cfm:3)

	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)

	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)

	at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)

	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)

	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)

	at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)

	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)

	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)

	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)

	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

	at coldfusion.CfmServlet.service(CfmServlet.java:105)

	at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)

	at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

	at jrun.servlet.JRunRequestDispatcher.invokeNext(JRunRequestDispatcher.java:439)

	at jrun.servlet.JRunRequestDispatcher.include(JRunRequestDispatcher.java:371)

	at jrun.servlet.JRunResponse.sendErrorPage(JRunResponse.java:660)

	at jrun.servlet.JRunResponse.sendError(JRunResponse.java:505)

	at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:283)

	at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)

	at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)

	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)

	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)

	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)

	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

The list of the "type" errors include:
S_BROWSER
S-BROWSER
S_REMOTE_ADDRESS
S-REMOTE-ADDRESS
S_REFERRER
S-REFERRER
S_DATE_TIME
S-DATE-TIME
S_STACK_TRACE
S-STACK-TRACE
S_EXPAND
S-EXPAND
S_EXPAND2
S-EXPAND2
S_UNABLE
S-UNABL

RE: HTTP_REFERER

2004-10-17 Thread Ewok
Scoped as url ofcourse ; )

Index.cfm?action="">

   _  

From: Ewok [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 17, 2004 9:42 PM
To: CF-Talk
Subject: RE: HTTP_REFERER

I assume you have a page that or snippet that checks for a valid login
session, if there isn’t one it redirects to a login form?

In this portion of code I usually take everything in the cgi.query_string
and append it to the redirect so once they login, the login redirect can put
the original url variables back in place and send them to the page the
initially tried to hit

Make sense?

So if they hit index.cfm?action="" but weren’t logged in, they would go to
index.cfm?action="">

Then once they submit the form to login they would get redirected to
index.cfm?action="">

   _  

From: Phillip Perry [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 17, 2004 6:11 PM
To: CF-Talk
Subject: HTTP_REFERER

Thanks for answering my last question. Too many issues kept coming up so I
abandoned using application.cfm for headers and went back to just including
templates into each page. Now I have another problem. When I have people log
in I want them to go to the page that they wanted to go to right after the
login info is confirmed. Doing this with the HTTP_REFERER variable gives me
an error stating that http://www.blah.com/blah/blah.cfm is syntactically
incorrect. I'm assuming its becuase of all the /'s and :'s and the like. How
do I go about doing this?

Thanks

Phil

   _  

[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=t:4"Todays Threads]
[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=i:4:181701"This
Message] [HYPERLINK
"http://www.houseoffusion.com/lists.cfm/link=s:4"Subscription] [HYPERLINK
"http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4"Fast
Unsubscribe] [HYPERLINK "http://www.houseoffusion.com/signin/"User Settings]
[HYPERLINK
"https://www.paypal.com/cgi-bin/webscr?amount=&item_name=House+of+Fusion&bus
iness=donations%40houseoffusion.com&undefined_quantity=&cmd=_xclick"Donation
s and Support] 

   _  

HYPERLINK "http://www.houseoffusion.com/banners/view.cfm?bannerid=34" \n

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004

   _  

[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=t:4"Todays Threads]
[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=i:4:181704"This
Message] [HYPERLINK
"http://www.houseoffusion.com/lists.cfm/link=s:4"Subscription] [HYPERLINK
"http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4"Fast
Unsubscribe] [HYPERLINK "http://www.houseoffusion.com/signin/"User Settings]
[HYPERLINK
"https://www.paypal.com/cgi-bin/webscr?amount=&item_name=House+of+Fusion&bus
iness=donations%40houseoffusion.com&undefined_quantity=&cmd=_xclick"Donation
s and Support] 

   _  

HYPERLINK "http://www.houseoffusion.com/banners/view.cfm?bannerid=44" \n

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: database client storage with multiple CFMX instances

2004-10-17 Thread Ewok
You can do it with one DB. I have all of my client variables stored in one
database for the entire server. Just create the database, add it in the
administrator and then set your Client Variables to use it in the
administrator

   _  

From: Marcus Whitworth [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 17, 2004 7:40 PM
To: CF-Talk
Subject: database client storage with multiple CFMX instances

Hi,

I have several CFMX instances running on JRun, and would like to set the
Client Variable storage to be a SQL Server datasource. Can all instances use
the same database for client variable storage, or will I need to create a
separate database for each instance?

Thanks in advance,
Marcus.

   _  

[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=t:4"Todays Threads]
[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=i:4:181702"This
Message] [HYPERLINK
"http://www.houseoffusion.com/lists.cfm/link=s:4"Subscription] [HYPERLINK
"http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4"Fast
Unsubscribe] [HYPERLINK "http://www.houseoffusion.com/signin/"User Settings]
[HYPERLINK
"https://www.paypal.com/cgi-bin/webscr?amount=&item_name=House+of+Fusion&bus
iness=donations%40houseoffusion.com&undefined_quantity=&cmd=_xclick"Donation
s and Support] 

   _  

HYPERLINK "http://www.houseoffusion.com/banners/view.cfm?bannerid=40" \n

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: application.cfm and headers

2004-10-17 Thread Barney Boisvert
That's why Fusebox was option 2.  ; )  Once you get your head around
it, lots of things are enormously easier, and layouts are one.  But
it's definitely not a simple framework to jump into.  That being said,
I would recommend giving it a chance, because in the long run,
anything you can do to make things simpler and more consistent will
pay large dividends.

Isaac will kill me, but if you want to see an amazingly confusing way
to assemble layouts, check out the onTap framework.  Definitely more
complex and feature rich than Fusebox, but aimed at two slightly
different audiences.

cheers,
barneyb

On Sun, 17 Oct 2004 17:02:53 -0400, Phillip Perry
<[EMAIL PROTECTED]> wrote:
> -Original Message-
> From: Barney Boisvert [mailto:[EMAIL PROTECTED]
> Sent: Sunday, October 17, 2004 4:56 PM
> To: CF-Talk
> Subject: Re: application.cfm and headers
> 
>   or perhaps use something like Fusebox
> 
>   I downloaded fusebox the other day to see what it was about and my head
> almost exploded with confusion :)
> 
>   Thanks though
> 
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

I currently have 2 GMail invites for the taking
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: HTTP_REFERER

2004-10-17 Thread Ewok
I assume you have a page that or snippet that checks for a valid login
session, if there isn’t one it redirects to a login form?

In this portion of code I usually take everything in the cgi.query_string
and append it to the redirect so once they login, the login redirect can put
the original url variables back in place and send them to the page the
initially tried to hit

Make sense?

So if they hit index.cfm?action="" but weren’t logged in, they would go to
index.cfm?action="">

Then once they submit the form to login they would get redirected to
index.cfm?action="">

   _  

From: Phillip Perry [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 17, 2004 6:11 PM
To: CF-Talk
Subject: HTTP_REFERER

Thanks for answering my last question. Too many issues kept coming up so I
abandoned using application.cfm for headers and went back to just including
templates into each page. Now I have another problem. When I have people log
in I want them to go to the page that they wanted to go to right after the
login info is confirmed. Doing this with the HTTP_REFERER variable gives me
an error stating that http://www.blah.com/blah/blah.cfm is syntactically
incorrect. I'm assuming its becuase of all the /'s and :'s and the like. How
do I go about doing this?

Thanks

Phil

   _  

[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=t:4"Todays Threads]
[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=i:4:181701"This
Message] [HYPERLINK
"http://www.houseoffusion.com/lists.cfm/link=s:4"Subscription] [HYPERLINK
"http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4"Fast
Unsubscribe] [HYPERLINK "http://www.houseoffusion.com/signin/"User Settings]
[HYPERLINK
"https://www.paypal.com/cgi-bin/webscr?amount=&item_name=House+of+Fusion&bus
iness=donations%40houseoffusion.com&undefined_quantity=&cmd=_xclick"Donation
s and Support] 

   _  

HYPERLINK "http://www.houseoffusion.com/banners/view.cfm?bannerid=34" \n

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: HTTP_REFERER

2004-10-17 Thread Jeff Garza
I use something like this in my application.cfm to check to see if the user
is logged in and if not, capture the original URL that they requested and
display the login page.



  

    
cgi.query_string>

  

    

  

  

  



Substitute localhost for your webroot.  Then in your login template, you'll
have access to the initialURL variable that you can then use to redirect the
user to the originally requested page.

HTH,

Jeff Garza

Manager, Phoenix ColdFusion User Group

[EMAIL PROTECTED]

  _  

From: Phillip Perry [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 17, 2004 3:11 PM
To: CF-Talk
Subject: HTTP_REFERER

Thanks for answering my last question. Too many issues kept coming up so I
abandoned using application.cfm for headers and went back to just including
templates into each page. Now I have another problem. When I have people log
in I want them to go to the page that they wanted to go to right after the
login info is confirmed. Doing this with the HTTP_REFERER variable gives me
an error stating that http://www.blah.com/blah/blah.cfm is syntactically
incorrect. I'm assuming its becuase of all the /'s and :'s and the like. How
do I go about doing this?

Thanks

Phil

  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




database client storage with multiple CFMX instances

2004-10-17 Thread Marcus Whitworth
Hi,

I have several CFMX instances running on JRun, and would like to set the Client Variable storage to be a SQL Server datasource. Can all instances use the same database for client variable storage, or will I need to create a separate database for each instance?

Thanks in advance,
Marcus.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




HTTP_REFERER

2004-10-17 Thread Phillip Perry
Thanks for answering my last question. Too many issues kept coming up so I
abandoned using application.cfm for headers and went back to just including
templates into each page. Now I have another problem. When I have people log
in I want them to go to the page that they wanted to go to right after the
login info is confirmed. Doing this with the HTTP_REFERER variable gives me
an error stating that http://www.blah.com/blah/blah.cfm is syntactically
incorrect. I'm assuming its becuase of all the /'s and :'s and the like. How
do I go about doing this?

Thanks

Phil
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: application.cfm and headers

2004-10-17 Thread Matthew Walker
I sometimes use a simple custom tag around each page's content and an
associated templates folder, like this:

 

    ...my content...


 
or

 

    ...my content...


 
The templates folder would contain a file to load at the top of the page and
a file for the bottom of the page, e.g.

 
normal_head.cfm
normal_foot.cfm
popup_head.cfm
popup_foot.cfm

  _  

From: Phillip Perry [mailto:[EMAIL PROTECTED] 
Sent: Monday, 18 October 2004 10:03 a.m.
To: CF-Talk
Subject: RE: application.cfm and headers

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 17, 2004 4:56 PM
To: CF-Talk
Subject: Re: application.cfm and headers

  or perhaps use something like Fusebox

  I downloaded fusebox the other day to see what it was about and my head
almost exploded with confusion :)

  Thanks though 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: application.cfm and headers

2004-10-17 Thread Ewok








Where “directoryname” is the directory you DON’T want the header included in

   _  

From: Phillip Perry [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 17, 2004 4:47 PM
To: CF-Talk
Subject: application.cfm and headers

I'm using application.cfm to put the header on all my pages via cfinclude so
i dont have to do a cfinclude on every page. But sometimes I dont want a
page in that same folder to show the headers. For example a pop up that
shows directions on how to use a form. There is no referrer to a pop up so I
cant use that variable. Is there anything else I can do?

Thanks

Phil

   _  

[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=t:4"Todays Threads]
[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=i:4:181694"This
Message] [HYPERLINK
"http://www.houseoffusion.com/lists.cfm/link=s:4"Subscription] [HYPERLINK
"http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4"Fast
Unsubscribe] [HYPERLINK "http://www.houseoffusion.com/signin/"User Settings]
[HYPERLINK
"https://www.paypal.com/cgi-bin/webscr?amount=&item_name=House+of+Fusion&bus
iness=donations%40houseoffusion.com&undefined_quantity=&cmd=_xclick"Donation
s and Support] 

   _  

HYPERLINK "http://www.houseoffusion.com/banners/view.cfm?bannerid=36" \n

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Problem With Form Processing - Need Help

2004-10-17 Thread Harold Brauer
I am working on this UDF, making an array of structures so that if there is
an error on my form it will send the user back, highlight the fields that
need to be filled in and display an error message. The problem I am having
is that the Array is being set BEFORE the form is processed. The form is
being submitted back to itself as you can see in the code below. Can anyone
tell me what I am doing wrong?










returntype="array">


required="yes">

 

 
len(form.city)  or not len(form.country)  or not len(form.mgender) or not
len(form.dob1) or not len(form.title) or not len(form.message) or not
len(form.yold) or not len(form.mold)>




= ArrayNew(1)>


[1] = StructNew()>


emessage[1].ecode = "main">


emessage[1].edisplay = "Required fields are blank">










   
 Sign Up Form - Error">


    

Sign Up Form ">


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: application.cfm and headers

2004-10-17 Thread Phillip Perry
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 17, 2004 4:56 PM
To: CF-Talk
Subject: Re: application.cfm and headers

  or perhaps use something like Fusebox

  I downloaded fusebox the other day to see what it was about and my head
almost exploded with confusion :)

  Thanks though
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: application.cfm and headers

2004-10-17 Thread Barney Boisvert
You could set an extra URL variable on your popup URL that indicates
not to include the header (or, more likely, include a 'plain' header).
 However, using Application.cfm and OnRequestEnd.cfm for anything
except application logic is generally a bad idea.

A much better route is to either just put the CFINCLUDEs in every
template (it's not much more work), or perhaps use something like
Fusebox, which will provide various tools to help with the task of
applying layouts consistently across your pages, but also give you the
flexibility to change or remove layouts as needed for specific pages.

cheers,
barneyb

On Sun, 17 Oct 2004 16:46:41 -0400, Phillip Perry
<[EMAIL PROTECTED]> wrote:
> I'm using application.cfm to put the header on all my pages via cfinclude so
> i dont have to do a cfinclude on every page. But sometimes I dont want a
> page in that same folder to show the headers. For example a pop up that
> shows directions on how to use a form. There is no referrer to a pop up so I
> cant use that variable. Is there anything else I can do?
> 
> Thanks
> 
> Phil

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

I currently have 2 GMail invites for the taking
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: application.cfm and headers

2004-10-17 Thread Claude Schneegans
>>Is there anything else I can do?

Put the template in another subdirectory having its own Application.cfm in which you do whatever you want, including NOT showing the headers.

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




application.cfm and headers

2004-10-17 Thread Phillip Perry
I'm using application.cfm to put the header on all my pages via cfinclude so
i dont have to do a cfinclude on every page. But sometimes I dont want a
page in that same folder to show the headers. For example a pop up that
shows directions on how to use a form. There is no referrer to a pop up so I
cant use that variable. Is there anything else I can do?

Thanks

Phil
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: (admin) Please test Fusion Authority

2004-10-17 Thread Michael Dinowitz
It's not load testing till the full HoF site is on BS. The FA install is a pre-load test. Making sure the service is ok, install is 100% and things like SES are adjusted. Looks good to me, but a second set of eyes would be much appreciated.

>Just curious. I think that's a fantastic idea - genuine load testing is
>rarely achievable and this is a great way to do it.
>
>Actually, no. This is a special case where Macromedia has asked certain high
>traffic sites to use Blackstone in order to make sure the core CF is 100%
>here now. I do some very special things with my CF code which allows me to
>find certain issues that may not come out during beta testing. All of my
>results are given over to MM to make sure that when Blackstone is released,
>it will be ready to work from day 1. 
>If you want, I'll ask for an official writeup from MM to keep this on the up
>and up. :)
>
>>Isn't this another NDA violation?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: (admin) Please test Fusion Authority

2004-10-17 Thread Michael Dinowitz
But how many of us with high traffic sites are willing to put the site on the line to run a beta product live. That's the whole reason MM asked me; Because I am willing. I've found a number of tiny issues that would never show up in beta testing that would annoy the living daylights out of people putting Blackstone into production. 
Now that I've rebuilt the HoF DB server and stored procedures, I can get some sleep and then write up my report for MM. After that, I'm going to play with the gateways and try to get a HoF NNTP server hacked from it. Lack of sleep breeds lots of cool code. :)

>>  I do some very special things with my CF code
>
>
>Don't we all...
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: (admin) Please test Fusion Authority

2004-10-17 Thread James Holmes
Just curious. I think that's a fantastic idea - genuine load testing is
rarely achievable and this is a great way to do it.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 17 October 2004 5:12 
To: CF-Talk
Subject: Re: (admin) Please test Fusion Authority

Actually, no. This is a special case where Macromedia has asked certain high
traffic sites to use Blackstone in order to make sure the core CF is 100%
here now. I do some very special things with my CF code which allows me to
find certain issues that may not come out during beta testing. All of my
results are given over to MM to make sure that when Blackstone is released,
it will be ready to work from day 1. 
If you want, I'll ask for an official writeup from MM to keep this on the up
and up. :)

>Isn't this another NDA violation?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: (admin) Please test Fusion Authority

2004-10-17 Thread Jim McAtee
- Original Message - 
From: "Michael Dinowitz" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, October 17, 2004 3:11 AM
Subject: Re: (admin) Please test Fusion Authority

>  I do some very special things with my CF code

Don't we all...
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Verity indexes - excluding files/directories?

2004-10-17 Thread Reed Powell
I thought that I once read that when you setup the index for a collection
(via CF tags, not the administrator, since this is a hosted account and I
don't have access to CFADMIN) you could tell it to exclude specific
directories from being searched.  Now that I'm trying to do it, I cannot
find anything like that - is it possible?  I have some files on the site
that are not ready for public consumption and so I don't them showing up in
search hits. What I'd like to do is to just put them in a "testing"
directory so that people that are reviewing them can access them.  As for
specific pages that are no longer part of the site and that I no longer want
searched, I could just change their extension by adding an X at the end
(CFMX etc) and that would keep them out of harm's way until I decided for
sure that they were not going to come back to life, but it's the exclusion
of entire folders (where I have to use the correct extensions so that they
can be processed correctly and reviewed by people) that has me baffled.

Thanks for the help,

-reed
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Icons for Applications...

2004-10-17 Thread Kay Smoljak
On Wed, 06 Oct 2004 11:21:39 -0600, Blaine Korte <[EMAIL PROTECTED]> wrote:
> If you guys use icons in your apps, where do you get them from? 

Just catching up on some messages I missed last week. For icons, check
out http://www.glyfx.com - we have a free set of common toolbar icons
in xp style, or more specialised sets for sale.

Cheers,
K.

-- 
Kay Smoljak
http://kay.smoljak.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: (admin) Please test Fusion Authority

2004-10-17 Thread Michael Dinowitz
Actually, no. This is a special case where Macromedia has asked certain high traffic sites to use Blackstone in order to make sure the core CF is 100% here now. I do some very special things with my CF code which allows me to find certain issues that may not come out during beta testing. All of my results are given over to MM to make sure that when Blackstone is released, it will be ready to work from day 1. 
If you want, I'll ask for an official writeup from MM to keep this on the up and up. :)

>Isn't this another NDA violation? 
>
>
>I've moved Fusion Authority (www.fusionauthority.com) over to Blackstone.
>I'd appreciate it if people test it out and report any errors to me off
>list. Once I know FA is 100%, then HoF will be moved over as well.
>Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: (admin) Please test Fusion Authority

2004-10-17 Thread James Holmes
Isn't this another NDA violation? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 17 October 2004 4:09 
To: CF-Talk
Subject: (admin) Please test Fusion Authority

I've moved Fusion Authority (www.fusionauthority.com) over to Blackstone.
I'd appreciate it if people test it out and report any errors to me off
list. Once I know FA is 100%, then HoF will be moved over as well.
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




(admin) Please test Fusion Authority

2004-10-17 Thread Michael Dinowitz
I've moved Fusion Authority (www.fusionauthority.com) over to Blackstone. I'd
appreciate it if people test it out and report any errors to me off list. Once I
know FA is 100%, then HoF will be moved over as well.
Thanks.
--
Michael Dinowitz
House of Fusion
http://www.houseoffusion.com
Finding technical solutions to the problems you didn't know you had yet
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]