RE: Regular Expressions in CF Studio

2001-05-24 Thread Brad Roberts

I don't think Studio covers it in the docs, but it does provide an
expression builder: right click -- Insert Expression.

Check out the Power Point tutorial from Micheal Dinowitz on
houseoffusion.com
http://www.houseoffusion.com/RegEx.ppt
Also,
http://www.houseoffusion.com/httpagent.ppt

HTH,

Brad

 -Original Message-
 From: Robert Everland III [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 7:43 PM
 To: CF-Talk
 Subject: Regular Expressions in CF Studio


 I can't find how to use Regular Expressions in CF Studio. can anyone
 proveide an example or a webpage on how to do it.


 Bob Everland



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Regular Expressions in CF Studio

2001-05-24 Thread Brad Roberts

Sorry.  I haven't heard of it, but that would be cool!

 -Original Message-
 From: Robert Everland III [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 9:21 PM
 To: CF-Talk
 Subject: RE: Regular Expressions in CF Studio
 
 
 I am talking about using regular expressions with the find and replace
 options in cfstudio, I already read Michaels help file.
 
 Bob Everland
 
 -Original Message-
 From: Brad Roberts [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 8:04 PM
 To: CF-Talk
 Subject: RE: Regular Expressions in CF Studio
 
 
 I don't think Studio covers it in the docs, but it does provide an
 expression builder: right click -- Insert Expression.
 
 Check out the Power Point tutorial from Micheal Dinowitz on
 houseoffusion.com
 http://www.houseoffusion.com/RegEx.ppt
 Also,
 http://www.houseoffusion.com/httpagent.ppt
 
 HTH,
 
 Brad
 
  -Original Message-
  From: Robert Everland III [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 7:43 PM
  To: CF-Talk
  Subject: Regular Expressions in CF Studio
 
 
  I can't find how to use Regular Expressions in CF Studio. can anyone
  proveide an example or a webpage on how to do it.
 
 
  Bob Everland
 
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: MySQL Interbase ODBC drivers

2001-03-25 Thread Brad Roberts

Check out this tag from the tag gallery:
http://devex.allaire.com/developer/gallery/info.cfm?ID=C4854A8D-B15F-11D4-AA
B000508B94F380method=Full

It allows you to add/edit/delete MySQL datasources from CF Administrator.

 -Original Message-
 From: Yoshi Melrose [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 23, 2001 10:45 PM
 To: CF-Talk
 Subject: Re: MySQL  Interbase ODBC drivers


 This is normal as in my experience. I would guess that the administrator
 doesn't have the support for MySQL just yet. It's a pain at times, but if
 you're running MySQL an unnecessary evil I suppose. :)


 - Original Message -
  Hi all,
 
  I have downloaded and installed MySQL and Interbase to "have a
 play". The
  ODBC drivers for both install fine (Windows 2000 SP1) and I can register
  datasources through the Windows ODBC Control Panel, and these
 datasources
  show up in the CF Administrator, but the drivers themselves
 don't show up
 in
  the drop down list. So I can't register new MySQL or Interbase
 datasources
  through the CF Administrator, I have to go through the Windows Control
  Panel.
 
  Is this normal behaviour? Or is there something else I am meant to
  do/install?
 
  K.



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Custom Tag

2001-03-14 Thread Brad Roberts

Wouldn't it work to pass "caller.myquery" to the tag?

cf_mytag queryname="caller.myquery"

mytag.cfm

cfloop query="#attributes.queryname#"
blah
/cfloop



 -Original Message-
 From: Jason Aden [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 14, 2001 9:27 PM
 To: CF-Talk
 Subject: RE: Custom Tag


 Scott,

 I don't think accessing #attributes.query_name# will work in your example
 because that variable just holds the text string name of the query.

 You could however pass the whole query to the custom tag like:

 cfquery name="xxx" datasource="qry_y"
   select a,b,c
   from y
 /cfquery

 cf_MyTag query="#xxx#"

 And then access the query within the custom tag as:

 cfloop query="attributes.xxx"
   actions...
 /cfloop

 HTH,

 Jason

 
 Jason Aden
 Allaire Certified Developer
 [EMAIL PROTECTED]
 www.wwstudios.com

  -Original Message-
  From: Scott, Andrew [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, March 14, 2001 9:01 PM
  To: CF-Talk
  Subject: RE: Custom Tag
 
 
  And why can't you just use:-
 
  cfoutput query="#attributes.query_name#"
 
  from within the custom tag:-)
 
 
 
  -Original Message-
  From: Toby Tremayne [mailto:[EMAIL PROTECTED]]
  Sent: 15 March 2001 12:50
  To: CF-Talk
  Subject: RE: Custom Tag
 
 
  I pass an attribute to the custom tag :  cf_myTag query_name="myQuery"
 
  and within the custom tag I use:
 
  cfoutput query="caller.#attributes.queryname#"
 
 
  it works perfectly
 
 
  Toby Tremayne
  Code Poet and Zen Master of the Heavy Sleep
  Show Ads Interactive
  359 Plummer St
  Port Melbourne
  VIC 3207
  P +61 3 9245 1247
  F +61 3 9646 9814
  ICQ UIN  13107913
 
  -Original Message-
  From: Nathan Stanford [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, 15 March 2001 8:22 AM
  To: CF-Talk
  Subject: RE: Custom Tag
 
 
  I tried Caller.xxx and it didn't find it I will have to test it again...
  Maybe I had some other problem... because I thought it would be
  that simple
  as well.
 
  Nathan
 
 
 
   -Original Message-
   From: Philip Arnold - ASP [SMTP:[EMAIL PROTECTED]]
   Sent: Wednesday, March 14, 2001 11:47 AM
   To:   CF-Talk
   Subject:  RE: Custom Tag
  
When in a custom tag how can you reference the query that is
located in the
callers page...
   
EX:
cfquery name="xxx" datasource="qry_y"
select a,b,c
from y
/cfquery
   
cf_MyTag query="xxx"
---
MyTag.cfm
   
How can I look at all of the items in the query 'xxx'?
  
   You're going to kick yourself as to how simple this is;
   caller.xxx
  
   Philip Arnold
   Director
   Certified ColdFusion Developer
   ASP Multimedia Limited
   T: +44 (0)20 8680 1133
  
   "Websites for the real world"
  
   **
   This email and any files transmitted with it are confidential and
   intended solely for the use of the individual or entity to whom they
   are addressed. If you have received this email in error please notify
   the system manager.
   **
  
  
  
  
 
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



OT: Adding CF Template to File:New in Windows

2001-02-19 Thread Brad Roberts

Does anyone know how to add file types under "FILE : NEW" in Windows
Explorer (same as right click, new).  I'd like to have the ability to right
click in folder view and add a CF template.

Just to make this clear, you usually use FILE : NEW to add a new folder,
shortcut, etc.

Thanks in advance for any help,

Brad Roberts
[EMAIL PROTECTED]

BTW, I did search the web (and the m$ site) and didn't find anything.
Thanks.


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Evaluating height/width of a JPG?

2001-01-21 Thread Brad Roberts

If you mean after the file has been uploaded, yes.  If you mean before the
file is uploaded, I'm not sure.  There is a tag called cf_imagesize in the
tag gallery that does this.  It gives you the width, height, and type of a
gif or jpg.  I've used it several times and it works well.

Try this link:
http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywords=images
ize

Brad

 -Original Message-
 From: Les Irvin [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, January 21, 2001 2:38 AM
 To: CF-Talk
 Subject: Evaluating height/width of a JPG?


 Is it possible to dynamically evaluate the width and/or height of
 a JPG or
 GIF that a client uploads to a site?  I want to take action based upon
 those parameters of a graphics file.
 Thanks,
 Les



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF and FrontPage

2001-01-17 Thread Brad Roberts

I use Frontpage all the time to build tables, forms, etc.  Frontpage 2000
has a feature to "preserve" existing html.  I don't open the actual CF
template in Frontpage, but I have copied CF code into the Frontpage HTML
editor, edited the code, and pasted back in Studio without a problem.  I
would advise against installing the Frontpage Extensions, especially if you
don't have need for them.

HTH

 -Original Message-
 From: Jennifer [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 17, 2001 5:16 PM
 To: CF-Talk
 Subject: Re: CF and FrontPage


 At 01:46 PM 1/17/01 -0500, you wrote:
 Hi.  I have a development machine with ColdFusion Studio/Server (single
 license) on it.  For a couple of reasons, I'd like to install
 FrontPage on
 the same machine to do some simple visual HTML editing that can
 be a drag in
 CFStudio.  Someone suggested to me that FrontPage might foul things up
 because of Personal Web Server or something else.
 
 Does anyone have any thoughts/horror stories to share about this?

 If you really like, I can share many many horror stories. First of all,
 Frontpage changes HTML that you open in it to something that
 frontpage lies
 more, even if it was correct to begin with. It even replaces standardized
 cross-platform compatable HTML in MS Proprietary scripts. Now then, since
 it doesn't understand coldfusion code, it totally messes it up. If I
 remember correctly it simply removes it. It's not just
 ColdFusion, though;
 it treats even ASP the same way. It has nogthing to do with PWS, by the
 way; Frontpage itself is the problem.

 A better solution is to go with DreamWeaver. It can do a lot of
 the things
 that Frontpage can, without ruining your HTML or messing up your CF.


 Now announcing my newly updated website
 http://www.blivit.org/mr_urc/index.cfm
 Resume: http://www.blivit.org/mr_urc/resume.cfm



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



cf and client vars

2001-01-06 Thread Brad Roberts

Does anyone know how CF deals with client vars when storing them in a db?
For example, is an update query run everytime you set a client var OR are
new client variables added at one time at the end of the request?

Thanks,

Brad


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Cold Fusion controlled CD-RW

2001-01-04 Thread Brad Roberts

How about just making sure a CD-R(W) is in the drive and using CFFILE 
CFDIRECTORY to manipulate files on the drive, assuming you could create a
map to that drive.

-Original Message-
From: Bernd VanSkiver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 12:12 PM
To: CF-Talk
Subject: Cold Fusion controlled CD-RW


I was just wondering if anyone knows a way to control a CD-RW drive in Cold
Fusion?  Just think it would be cool to be able to burn cds over the
intranet or internet on my server.  If anyone knows a way to do this even
without cold fusion, I am willing to take suggestions.

Bernd VanSkiver
[EMAIL PROTECTED]
ICQ #: 916324
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Printing mailing labels in a browser -- Joy... :-O

2000-11-21 Thread Brad Roberts



I'm going to have the same challenge with a current project, printing
cassette tape lables.

If you're using IE, would it work to create a "Avery" label document in M$
Word, save it as HTML, and use that to make your template?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 21, 2000 8:25 PM
To: CF-Talk
Subject: RE: Printing mailing labels in a browser -- Joy... :-O


Plus you've got a print preview feature in IIS v5.5 SP1 now... :)

-ron

 -Original Message-
 From: Michael Thomas [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, November 21, 2000 5:15 PM
 To: CF-Talk
 Subject: Re: Printing mailing labels in a browser -- Joy... :-O


 Hmm cant say Ive ever had a job like this BUT CSS 2.0 dedicated a
 good part
 of the spec towards printing. I think its worth a look into at the very
 least. Heres a couple styles to get you started:

 Marks:
 Orphans:
 Page:
 Page-Break-After:
 Page-Break-Before:
 Page-Break-Inside:
 Size:
 Widows:

 Hope this helps.

 Sincerely,
 Mike T. Lakes


 From: "Mark W. Breneman" [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Subject: Printing mailing labels in a browser -- Joy... :-O
 Date: Tue, 21 Nov 2000 15:46:08 -0600
 
 
 My boss just "gave" me a new project Printing mailing labels from a
 browser.
 
 Any one try anything this odd?
 Thanks
 Mark W. Breneman
 -Cold Fusion Developer
 -Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com
608.270.9770
 
 ~~
 Structure your ColdFusion code with Fusebox. Get the official book at
 http://www.fusionauthority.com/bkinfo.cfm
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

 __
 ___
 Get more from the Web.  FREE MSN Explorer download :
http://explorer.msn.com

~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Fax customed tag

2000-11-16 Thread Brad Roberts

http://www.protofax.com

-Original Message-
From: thanh nguyen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 3:17 PM
To: CF-Talk
Subject: Fax customed tag


I know it's been posted before, but i could not find it, I would like to
know with fax software that supports cold fusion tag, maybe Facsys..
please help.
thanks

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
https://secure.houseoffusion.com

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



OT: mail server

2000-10-30 Thread Brad Roberts

We are getting ready to set up our server and need a mail server package.
Anyone have suggestions?  Running Win2k, 733mhz, 512meg ram.  Would like to
stay under $1000 with unlimited email accounts.

Thanks,

Brad


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: multiple similar sites on one server

2000-10-28 Thread Brad Roberts

Just to add, I've thought about using the app as a custom tag.  What are
some thoughts building on doing that?  Directory structure?  What files are
used in the custom tag and which aren't?

Brad

-Original Message-
From: Brad Roberts [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 28, 2000 3:05 PM
To: Fusebox
Cc: CF Talk
Subject: multiple similar sites on one server


Check out this scenario:

What if you wanted to host ecommerce sites for just vitamin stores?  You
created an awesome app (in fusebox of course) catered to the vitamin store
business.  Your database is set up to handle multiple stores.  You don't
want to just copy your app for every store you set up, because this wouldn't
be feasible for later changes to your app.  When you got a new client, the
idea would be to create only the files and variables unique to that site:

Variables:
  Unique ID of the store
  Any style attributes

Files:
  Header and footer files for design.

So how could you reuse the entire functionality of the site and only change
the design (headers/footers) and style (colors, fonts, etc.)?  I've thought
about this a lot, but I keep running into roadblocks.

Any help is appreciated,

Brad

BTW, The new Fusebox Book is great!  It's an easy read, even on my monitor
:)


--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: FormURL2Attributes

2000-10-28 Thread Brad Roberts

Make sure you've got the latest formurl2attributes tag from fusebox.org
All you have to do use forward slashes in your url's:

index.cfm/action/viewproduct/productid/123

instead of:

index.cfm?action=viewproductproductid=123

You probably will want to use the fusetoken tag also.  That allows you to
append the cfid/cftoken on to your url's in the search engine friendly
format:

index.cfm/action/viewproduct/productid/123/#fusetoken#

which relates to:

index.cfm/action/viewproduct/productid/123/cfid/23/cftoken/549303

HTH,

Brad

-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 28, 2000 8:36 PM
To: CF-Talk
Subject: FormURL2Attributes


How exactly is this tag supposed to work. I am trying to set up a site with
friendly urls but am having problems getting it to work right. I am not
using fusebox but would like an example as to how this works.

Bob Everland



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: CFSCRIPT

2000-10-25 Thread Brad Roberts

The Advanced web application construction kit has a lot on the subject.

Brad

-Original Message-
From: Peter Benoit [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 4:38 PM
To: CF-Talk
Subject: RE: CFSCRIPT


Well unless I'm looking in all the wrong spots, the QUE book of CF4.0 web
application construction kit doesn't show but a one liner about CFSCRIPT.
Which books might you be referring to?

*  -Original Message-
*  From: Simon Horwith [mailto:[EMAIL PROTECTED]]
*  Sent: Wednesday, October 25, 2000 4:14 PM
*  To: CF-Talk
*  Subject: RE: CFSCRIPT
*
*
*  any 4.x book, or cfstudio 4.x help files
*  ~Simon
*
*  -Original Message-
*  From: Peter Benoit [mailto:[EMAIL PROTECTED]]
*  Sent: Wednesday, October 25, 2000 4:04 PM
*  To: CF-Talk
*  Subject: CFSCRIPT
*
*
*  I see people using cfscript, but my cold fusion book shows
*  no functions
*  keywords or anything!  Where can I find help on this tag and
*  it's uses?
*
*  -Pete
*
*  -
*  ---
*  
*  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
*  Unsubscribe:
*  http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
*  message with 'unsubscribe' in the body to
*  [EMAIL PROTECTED]
*  -
*  ---
*  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
*  Unsubscribe:
*  http://www.houseoffusion.com/index.cfm?sidebar=lists or send
*  a message with 'unsubscribe' in the body to
*  [EMAIL PROTECTED]
*



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: HTML???

2000-10-25 Thread Brad Roberts

I think you may have to wrap your template in a custom tag.

Something like:

 PageContent.cfm -

cfif not thistag.hasendtag
cfset thistag.generatedcontent = ""
The custom tag lt;CF_PageContentgt; does not have an end tag.
cfabort
/cfif
cfif thistag.executionmode is "end"
cfset request.pagecontent = thistag.generatedcontent
cfset thistag.generatedcontent = ""
/cfif


 YourActionPage.cfm -

!--- Call your custom tag (pagecontent.cfm) ---
cf_PageContent

Put all of your cfml and html code here.

/cf_PageContent

!--- User this to output in HTML FORMAT ---
cfoutput
#HTMLEditFormat(request.pagecontent)#
/cfoutput

!--- Use this to output regularly ---
cfoutput
#request.pagecontent#
/cfoutput

--

Hope this helps,

Brad


-Original Message-
From: ibtoad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 6:38 PM
To: CF-Talk
Subject: RE: HTML???



How do I use this? What is the (page) variable?

Thanks,
Rich
-Original Message-
From: Larry Juncker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 6:00 PM
To: CF-Talk
Subject: RE: HTML???


From pg 901 CF 4.0 WACK

#HTMLEditFormat(Text)#

The following example displays the HTML code that is used to render a
dynamic Web page inside a bordered box.

TABLE BORDER
TR
TD#HTMLEditFormat(Page)#/td
/TR
/table

Larry Juncker
Senior Cold Fusion Programmer
Heartland Communications Group, Inc.


-Original Message-
From: ibtoad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 4:24 PM
To: CF-Talk
Subject: HTML???


How can I display the HTML that is generated by a CF template without having
to click on source from the IE bar?  Can i display it raw html on the web
page itself?


Rich




Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]




Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]




Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



database forums and/or lists

2000-10-23 Thread Brad Roberts

Any suggestions where I can find a really good forum and/or list that
discusses relational databases?

Thanks,

Brad


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: database forums and/or lists

2000-10-23 Thread Brad Roberts

Let me redefine that,
Any suggestions where I can find a really good forum and/or list that
discusses relational database DESIGN?

-Original Message-
From: Brad Roberts [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 23, 2000 2:46 PM
To: CF-Talk
Subject: database forums and/or lists


Any suggestions where I can find a really good forum and/or list that
discusses relational databases?

Thanks,

Brad



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: fusebox style: too much disk access?

2000-10-20 Thread Brad Roberts

I've got a fusebox tattoo, so nah!
:^)
Kidding,

Brad

-Original Message-
From: Jones, Matt [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 6:42 PM
To: CF-Talk
Subject: RE: fusebox style: too much disk access?


If the code is logical, organized, and well written, it shouldn't matter if
you utilize the Fusebox methodology or not, fusebox assists people with
accomplishing these things.  If you do it without using the fusebox
methodology, that doesn't make you wrong.  Any approach to programming that
is not logical, organized, and well written is a pain to debug, maintain,
and update, regardless of whether it is in fusebox or not.  The fact that so
many fuseboxers take offense to non-fuseboxers and vice versa is rather
disturbing.  We should strive to forward ourselves by not getting into nit
picky arguments amongst ourselves about matters of style, and focus on
helping each other with the problems that we all run into.

-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 3:33 PM
To: CF-Talk
Subject: RE: fusebox style: too much disk access?


Since we're talking about it... I always thought that breaking up an
application by "type of activity in the file" like dsp for display and qry
for query didn't make sense. I want to break up my application by logical
"object" like a user profile, an inventory item, etc..


At 11:19 AM 10/20/00 -0700, Nat Papovich wrote:
What-evah, Dave. Fusebox kicks ass for the very implementation you mention.
COMs can be called from a single file (using a new prefix com_filename.cfm
if you want), then whenever you need that COM, you cfinclude that file.

Maybe it would help us if you made a distinction between application logic
encapsulation and business rules encapsulation. If you do both within
COM/EJB, then you practically don't even need CF for anything other than
CFOUTPUT. If however, you want application logic in COM, but still want
business rules in CF, then Fusebox is great. No?

It seems to me that if you remove application and business logic from CF,
then a structured application architecture (like Fusebox) becomes less of a
necessity. What kind of CF architecture do you guys use in EJB/COM-heavy
apps?

Nat Papovich
ICQ 32676414
"I'm for truth no matter who tells it."
-Malcolm X, 1965


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 10:12 AM
To: CF-Talk
Cc: '[EMAIL PROTECTED]'
Subject: RE: fusebox style: too much disk access?


  I'm not a Fusebox fan, by any measure,

 Why not? What would need to be changed to make you a fan?

I'd have to be working on applications where the complex logic is stored in
CF, instead of in other application tiers. I don't want to fuel another "Is
Fusebox good or bad" thread, but I don't think it fits well with the type
of
applications that we focus on here at Fig Leaf, which typically have lots
of
client-side complexity, like frames, JavaScript, Flash, etc. and have lots
of application logic within other application tiers on the server-side,
like
within stored procedures or COM/EJB.

On the other hand, if I was working on an application with all of its
complexity within CF, I'd probably like Fusebox quite a bit. Once you move
most of that complexity from CF to other tiers, though, Fusebox doesn't do
much for you, in my opinion.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
---
-

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
---
-
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]



---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 x204 Fax 1.212.545.0938



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Need Help with Connections to DB

2000-09-04 Thread Brad Roberts

For some odd reason, all of the sudden, I am having a problem with my Acess
2000 db when using an insert and select query back to back.  It times out
and says that the limit of connections has been reached.  It hangs on the
select query.  If I remove this query, the insert goes fine and the page is
displayed.  This is on my dev. machine running Win2K, and CF 4.5.1.  I've
checked every setting that I can imagine and I'm pulling my hair out trying
to figure it out.  It did happen after I installed MySQL, but I don't know
if that has anything to do with it or not.

I've also gotten an error reading: Request canceled or ignored by
serverServer busy or unable to fulfill request. The server is unable to
fulfill your request due to extremely high traffic or an unexpected internal
error.

Any ideas?

Thanks,

Brad Roberts

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



slightly ot: formatting lists

2000-08-28 Thread Brad Roberts

I just got through rewriting the cf_MyMakeTree tag discussed on
defusion.com (http://www.defusion.com/articles/index.cfm?ArticleID=63).  I
made it so that it doesn't query the database 30 times for only ten records
of data (just loops the initial query).

The only thing I need to know now is how to change the "indention" of a list
(ul, li).  Is there a way to do this with css?  I really like the output
but the indentions are too big.

BTW, if anyone would like the code, email me off list.  I'd like a few
others to examine it for possible bugs, etc.

Thanks,

Brad Roberts

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: OnRequestEnd.cfm

2000-08-22 Thread Brad Roberts

It only searches the directory where the application.cfm was found.
Wouldn't hurt to have one in that directory though.

-Original Message-
From: Ken Goldstraw [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 22, 2000 11:56 AM
To: '[EMAIL PROTECTED]'
Subject: OnRequestEnd.cfm


Hello folks,

Someone once told me that OnRequestEnd.cfm should exist in every directory,
whether you're using it or not.  The reason he gave was that CF would
traverse the directory tree until either an OnRequestEnd.cfm was found, or
the top level was reached.  Is this true?  Does anyone do this?

TIA
-Ken

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Query a Query

2000-08-16 Thread Brad Roberts

I don't know exactly what you are trying to do, but would a subquery work?

If you've got the Web Application Construction Book by Ben Forta (or any sql
book), it will explain subqueries.

Hope this helps,

Brad

-Original Message-
From: Ray, James A [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 16, 2000 10:54 AM
To: [EMAIL PROTECTED]
Subject: Query a Query


This is a wierd question, but I need to ask it.

Is there a way to query the results of a query?  There is a really reason
whey I need to do this.

Example

CFQUERY name="getRecord" datasource="DSTS" 
SELECT  *
FROMDSTS.LLISTORAGE
WHERE (ENDITEMPN = '#FORM.ENDITEMPN#') AND (ENDITEMSN =
'#FORM.ENDITEMSN#')
ORDER BY  ENDITEMPN ASC,ENDITEMSN ASC
/CFQUERY

Next one

CFQUERY name="getRecord1" maxrows="1"
SELECT  *
FROMgetRecord
WHERE (LLIPN = '#FORM.LLIPN#') AND (LLISN  '#FORM.LLISN#')
ORDER BY  LLIPN ASC,LLISN ASC
/CFQUERY


Thanks all

Jim Ray




--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Online Credit Card Processing

2000-08-16 Thread Brad Roberts

Robert,

There are literally hundreds of ways to include credit card processing on
your site.  I am currently using Cybercash (www.cybercash.com), which was a
pain to set up.  After I got the account set up with Cybercash, the
ColdFusion part was easy.  The CFX_CYBERCASH tag (available in the tag
gallery) was simple to implement into my site.

You're first step is to have a merchant account set up with your bank.  This
will allow you to accept credit cards and the transactions will be deposited
to your account.

If your bank does not provide a gateway for online processing from your
site, your're next step is to find a "gateway".  Someone, like Cybercash,
that supports your particular bank.  Places like this usually don't process
credit card transactions, they just provide a gateway to your bank across a
secured internet connection.

The biggest problem I ran into when using Cybercash, was that my bank had no
idea how to go about sending the necessary information to my processor
(Visanet), who in return, was supposed to send their info to Cybercash.

Like I said before, there are a lot of ways to do this and you can probably
integrate CF into most of them.  Do a search in the allaire forums for
"credit card" and "cybercash" in the Getting Started scope.  You'll find a
lot of info.

Hope this helps,

Brad




-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 16, 2000 10:40 AM
To: '[EMAIL PROTECTED]'
Subject: Online Credit Card Processing


I am looking to include credit card processing on my site soon and
was curious as to who anyone out there recommends. Also I am looking to see
how the payment system works. Do you have an account they transfer the funds
into electronically, do they trasnfer the funds immediately to a bank
account of your choosing, or do you get a check each month for the
transactions that were processed. Please no flaming companies, I just wish
to get recomendations.


Robert Everland III
Web Developer
Dixon Ticonderoga

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Server hardware and software config

2000-08-14 Thread Brad Roberts

I've got a customer that wants to host his own sites.  All of my sites have
been hosted with an ISP and I've never gotten into working with servers.  He
wants me to organize the process of setting everything up.  I'd like some
opinions on hardware/software configurations for running multiple CF sites
with medium traffic.  This is just in the planning stage, so we haven't
bought anything yet.

A couple of opinions of different configurations of, name brand boxes, white
boxes, operating systems, databases, email servers, etc. would be nice.

Or if there are resources already on the web, that would help too. (searched
the allarie site, but didn't find anything)

Thanks for your help,

Brad

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Browser Cash issues and cf

2000-08-10 Thread Brad Roberts

have you tried this:

meta http-equiv="expires" content="sun, 12 may 1996 00:36:05 gmt"

-Original Message-
From: AustralianAccommodation.com Pty. Ltd.
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 10, 2000 10:33 AM
To: [EMAIL PROTECTED]
Subject: Browser Cash issues and cf


This is a multi-part message in MIME format.

--=_NextPart_000_00AE_01C0032B.B812F0E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

My home page has links to the search areas of my site however unless the =
user is logged on they are not permitted to gain access to those search =
areas

so far so good

I then had it set so that after a successful logon the browser would =
return to the home page however with the aid of cf if statements the =
home page would display the links that would allow access to the search =
facilities as it would detect that the user is logged in. if the user =
was not logged in the cf if statements would cause the original links to =
be displayed that prevented search facility access to non members

I hope you are still with me ??

all was fine until I found that some users have their web browsers set =
to never check for new versions of a file and so the browsers would =
check for a cached file first. The problem being that the cached file =
would have the restricted linked and would display those even for =
members who have logged in successfully

how can I get around this problem

I thought of sending the successful logged in user to a different named =
file with the links that provide user access however if that logged on =
user click on the home page the home page will come up which will once =
again display the non accessible links as it pulls it from the cache.

I hope I am making sense and I hope there is a easy solution to this one



Kind Regards

Claude Raiola (Director)
AustralianAccommodation.com Pty. Ltd.
Website: www.AustralianAccommodation.com
Email: [EMAIL PROTECTED]

--=_NextPart_000_00AE_01C0032B.B812F0E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTMLHEAD
META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type
META content=3D"MSHTML 5.00.2722.2800" name=3DGENERATOR
STYLE/STYLE
/HEAD
BODY bgColor=3D#ff
DIVFONT face=3DArial size=3D2My home page has links to the search =
areas of my=20
site however unless the user is logged on they are not permitted to gain =
access=20
to those search areas/FONT/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2so far so good/FONT/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2I then had it set so that after a =
successful logon=20
the browser would return to the home page however with the aid of cf if=20
statements the home page would display the links that would allow access =
to the=20
search facilities as it would detect that the user is logged in. if the =
user was=20
not logged in the cf if statements would cause the original links to be=20
displayed that prevented search facility access to non =
members/FONT/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2I hope you are still with me =
??/FONT/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2all was fine until I found that some =
users have=20
their web browsers set to never check for new versions of a file and so =
the=20
browsers would check for a cached file first. The problem being that the =
cached=20
file would have the restricted linked and would display those even for =
members=20
who have logged in successfully/FONT/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2how can I get around this =
problem/FONT/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2I thought of sending the successful =
logged in user=20
to a different named file with the links that provide user access =
however if=20
that logged on user click on the home page the home page will come up =
which will=20
once again display the non accessible links as it pulls it from the=20
cache./FONT/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2I hope I am making sense and I hope =
there is a easy=20
solution to this one/FONT/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2Kind Regards/FONT/DIV
DIVnbsp;/DIV
DIVFONT face=3DArial size=3D2Claude Raiola=20
(Director)BRAustralianAccommodation.com Pty. Ltd.BRWebsite: A=20
href=3D"http://www.AustralianAccommodation.com"www.AustralianAccommodati=
on.com/ABREmail:=20
A=20
href=3D"mailto:[EMAIL PROTECTED]"Director@AustralianA=
ccommodation.com/A/FONT/DIV/BODY/HTML

--=_NextPart_000_00AE_01C0032B.B812F0E0--


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


RE: Yet another cflock question...

2000-08-09 Thread Brad Roberts


Would this work?


cflock name="#Session.sessionID#" timeout="30" type="Exclusive"
cfif IsDefined("Session.UserID")
cfset Session.UserID = Session.UserID
cfset MakeUserLogin = "yes"
/cfif
/cflock

cfif MakeUserLogin
cflocation url="../not_logged_in.cfm"
/cfif



Brad
cfif IsDefined("Session.Session
-Original Message-
From: Dana Larose [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 09, 2000 12:19 PM
To: [EMAIL PROTECTED]
Subject: Yet another cflock question...


Hey everyone,

This is the code snippet for how I have been typically handling logged in
users:

cflock name="#Session.sessionID#" timeout="30" type="Exclusive"
cfif IsDefined("Session.UserID")
cfset Session.UserID = Session.UserID
cfelse
cflocation url="../not_logged_in.cfm"
/cfif
/cflock

So, what I want to happen is that if the user exists and is logged in, as
indicated by Session.UserID, I reset the variable so that the poor user
isn't arbitrarily timed while using the system.  If Session.UserID doesn't
exist, they are bounced to a page that displays an error message or gives
them the chance to login.

My question is, if they hit the cflocation, is ColdFusion smart enough to
remove the lock before jumping to the other page, or am I setting myself up
for some unhappy deadlock?  It appears to remove the lock when I test it,
but I wouldn't mind confirmation of that so I am not setting myself up for
future problems.

Thanks,

Dana


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Yet another cflock question...

2000-08-09 Thread Brad Roberts

Oops, correction: cfset MakeUserLogin = "no"

should be:

cflock name="#Session.sessionID#" timeout="30" type="Exclusive"
cfif IsDefined("Session.UserID")
cfset Session.UserID = Session.UserID
cfset MakeUserLogin = "no"
/cfif
/cflock

cfif MakeUserLogin
cflocation url="../not_logged_in.cfm"
/cfif


Brad


-Original Message-
From: Brad Roberts [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 09, 2000 12:39 PM
To: [EMAIL PROTECTED]
Subject: RE: Yet another cflock question...



Would this work?


cflock name="#Session.sessionID#" timeout="30" type="Exclusive"
cfif IsDefined("Session.UserID")
cfset Session.UserID = Session.UserID
cfset MakeUserLogin = "yes"
/cfif
/cflock

cfif MakeUserLogin
cflocation url="../not_logged_in.cfm"
/cfif



Brad
cfif IsDefined("Session.Session
-Original Message-
From: Dana Larose [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 09, 2000 12:19 PM
To: [EMAIL PROTECTED]
Subject: Yet another cflock question...


Hey everyone,

This is the code snippet for how I have been typically handling logged in
users:

cflock name="#Session.sessionID#" timeout="30" type="Exclusive"
cfif IsDefined("Session.UserID")
cfset Session.UserID = Session.UserID
cfelse
cflocation url="../not_logged_in.cfm"
/cfif
/cflock

So, what I want to happen is that if the user exists and is logged in, as
indicated by Session.UserID, I reset the variable so that the poor user
isn't arbitrarily timed while using the system.  If Session.UserID doesn't
exist, they are bounced to a page that displays an error message or gives
them the chance to login.

My question is, if they hit the cflocation, is ColdFusion smart enough to
remove the lock before jumping to the other page, or am I setting myself up
for some unhappy deadlock?  It appears to remove the lock when I test it,
but I wouldn't mind confirmation of that so I am not setting myself up for
future problems.

Thanks,

Dana


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Yet another cflock question...

2000-08-09 Thread Brad Roberts

Golly, I'm having a time with this.  Yet another mistake. cfif
IsDefined("MakeUserLogin")

Finally:

cflock name="#Session.sessionID#" timeout="30" type="Exclusive"
cfif IsDefined("Session.UserID")
cfset Session.UserID = Session.UserID
cfset MakeUserLogin = "yes"
/cfif
/cflock

cfif IsDefined("MakeUserLogin")
cflocation url="../not_logged_in.cfm"
/cfif

Maybe I should proof before I send.

Also, should your lock be named a session variable?

Brad

-Original Message-
From: Brad Roberts [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 09, 2000 12:39 PM
To: [EMAIL PROTECTED]
Subject: RE: Yet another cflock question...



Would this work?


cflock name="#Session.sessionID#" timeout="30" type="Exclusive"
cfif IsDefined("Session.UserID")
cfset Session.UserID = Session.UserID
cfset MakeUserLogin = "yes"
/cfif
/cflock

cfif MakeUserLogin
cflocation url="../not_logged_in.cfm"
/cfif



Brad
cfif IsDefined("Session.Session
-Original Message-
From: Dana Larose [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 09, 2000 12:19 PM
To: [EMAIL PROTECTED]
Subject: Yet another cflock question...


Hey everyone,

This is the code snippet for how I have been typically handling logged in
users:

cflock name="#Session.sessionID#" timeout="30" type="Exclusive"
cfif IsDefined("Session.UserID")
cfset Session.UserID = Session.UserID
cfelse
cflocation url="../not_logged_in.cfm"
/cfif
/cflock

So, what I want to happen is that if the user exists and is logged in, as
indicated by Session.UserID, I reset the variable so that the poor user
isn't arbitrarily timed while using the system.  If Session.UserID doesn't
exist, they are bounced to a page that displays an error message or gives
them the chance to login.

My question is, if they hit the cflocation, is ColdFusion smart enough to
remove the lock before jumping to the other page, or am I setting myself up
for some unhappy deadlock?  It appears to remove the lock when I test it,
but I wouldn't mind confirmation of that so I am not setting myself up for
future problems.

Thanks,

Dana


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: file name

2000-08-09 Thread Brad Roberts


OnRequestEnd.cfm

Note: this file has to be in the same directory as the calling template.  CF
will not search for this file like application.cfm

Brad

-Original Message-
From: Jay Wigginton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 09, 2000 12:51 PM
To: [EMAIL PROTECTED]
Subject: file name


Could some please tell me the file name that if present in a directory will
be executed after the current template... same as cfapplication but is
executed afterwards... I have searched the archives and thought I had saved
the file name in my CF tips, but I cannot find it .. G

thanks in advance!
Jay


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: file name

2000-08-09 Thread Brad Roberts

Exactly right, sorry.

Brad

-Original Message-
From: David E. Crawford [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 09, 2000 1:33 PM
To: [EMAIL PROTECTED]
Subject: Re: file name


From the CFDOCS:

The OnRequestEnd.cfm file

  Just as the Application.cfm file is executed before each application page
it governs, you can specify a file named OnRequestEnd.cfm, which is executed
after each application page in the same application.

ColdFusion Server looks for the OnRequestEnd.cfm file in the same directory
as the Application.cfm file of the current application page. The
OnRequestEnd.cfm file will never be executed if it resides in another
directory.

The OnRequestEnd.cfm file will not be executed if there is an error or an
exception in the called page, or if the called page executes the CFABORT or
CFEXIT tag.

DC

- Original Message -
From: "Brad Roberts" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 09, 2000 17:13
Subject: RE: file name



 OnRequestEnd.cfm

 Note: this file has to be in the same directory as the calling template.
 CF
 will not search for this file like application.cfm

 Brad

 -Original Message-
 From: Jay Wigginton [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 09, 2000 12:51 PM
 To: [EMAIL PROTECTED]
 Subject: file name


 Could some please tell me the file name that if present in a directory
 will
 be executed after the current template... same as cfapplication but is
 executed afterwards... I have searched the archives and thought I had
 saved
 the file name in my CF tips, but I cannot find it .. G

 thanks in advance!
 Jay

 
 
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
 or
 send a message to [EMAIL PROTECTED] with 'unsubscribe'
 in
 the body.

 
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
 or send a message to [EMAIL PROTECTED] with
 'unsubscribe' in the body.



--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



<    1   2   3