Re: Member database with access levels -=- CF4.0.1+Access97

2000-05-15 Thread Sharon DiOrio
Cookies are the answer yes. But even more than that, CF has the ability to maintain sessions for a user automatically (so that you don't have to manage the cookies, etc.) In your application.cfm file, put the following: !--- Enable session management --- cfapplication name="myApplication"

RE: Client and session variables same thing different

2000-05-12 Thread Sharon DiOrio
Also, Client variables can't hold complex data structures (arrays, queries, structures) except as a WDDX packet. Sharon -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit

Re: Double Entries?? How to stop??

2000-05-10 Thread Sharon DiOrio
The only way to prevent double entries is to perform a "duplicate check" query before any insert. cfquery name="dupCheck" datasource="#dsn#" SELECT ID FROM Table WHERE IdentifyingValue1 = '#FORM.identifyingValue1#' AND identifyingValue2 =

Re: session variable blues

2000-05-08 Thread Sharon DiOrio
Is there more code on the "screen2" page that sets the form variables to the session variables? Something like: cfset SESSION.fname = FORM.fname cfset SESSION.lname = FORM.lname OR cfscript SESSION.fname = FORM.fname; SESSION.lname = FORM.lname; /cfscript Otherwise the session variables

Re: Newbie - Sort of - How do I make the following into a CustomTag?

2000-05-08 Thread Sharon DiOrio
The first thing to remember with custom tags is to define your "attributes" correctly. It seems like your tag would require only ShipZip. Calling your tag (where the name of the cf file is shipZipTag.cfm) would be something like: cf_shipZipTag shipZip = "#shipZip#" And your tag would look

RE: ILOVEYOU

2000-05-04 Thread Sharon DiOrio
And people ask why I stick with Eudora. Heh. Sharon At 10:05 AM 5/4/2000 -0400, Paul Ihrig wrote: how do you turn off vbs in outlook. the help is usless. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe

Re: Forcing a query refresh

2000-05-03 Thread Sharon DiOrio
This may be a simplistic answer, but don't cache the query and it will run everytime the page is accessed. Look for "cachedwithin" or "cachedafter" in the cfquery tag. Or if the query is named something like "SESSION.queryName" or "APPLICATION.queryName", change the name to just "queryName".

Re: Setting a variable

2000-05-03 Thread Sharon DiOrio
You mean like cfset tempcat = evaluate("Cat.a#id#") Sharon At 05:42 PM 5/3/2000 -0300, Michel Gagnon wrote: Hi! Is there a way to set a variable with the content of another variable as part of the name. Something like this, but that works. CFSet tempcat=#Cat.a#ID##

RE: Forcing a query refresh

2000-05-03 Thread Sharon DiOrio
plitsecond necessary to copy the array from local scope into application scope. And you'll notice that the code only runs when the array isn't already defined. Sorry I couldn't be of more help! Sharon Thanks, Doug -Original Message----- From: Sharon DiOrio [SMTP:[EMAIL PROTECTED]] Sent: Wednesd

Re: array

2000-05-02 Thread Sharon DiOrio
You'll need to call the key you want. #myArray[1].keyName# Or to display all of the keys in the structure: #StructKeyList(myArray[1])# Essentially you're using the variable "myArray[1]" like a structure name (which it is.) Sharon At 02:16 PM 5/2/2000 +, Won Lee wrote: I have an array.

Re: cfloop-Please answer

2000-05-01 Thread Sharon DiOrio
CF skips the whole code within the loop. You'll have to trap for no records. cfif qryResults.recordcount !--- loop code here --- cfelse !--- alternate code --- /cfif Sharon At 01:56 PM 5/1/2000 -0400, Miriam Hirschman wrote: If I am looping through a query and the query did

Re: Thank you for choosing Smart Web Tech your online business provider. We have received you

2000-05-01 Thread Sharon DiOrio
Why do people do stuff like this late in the afternoon/evening and then go home? Sharon At 08:02 PM 5/1/2000 -0500, admin wrote: Thank you for choosing Smart Web Tech your online business provider. We have received your message our tech staff will get in touch with you as soon as possible. If

RE: Re: CFHttp and Wddx posting for results only???

2000-04-28 Thread Sharon DiOrio
and such. Appretiate it. Thanks Joe --- Original Message --- Sharon DiOrio [EMAIL PROTECTED] Wrote on Fri, 28 Apr 2000 10:50:04 -0400 -- You can use cfhttp and WDDX to query other sites, provided the other site is cooperating. Otherwise you're stuck with querying the site

Re: CFHttp and Wddx posting for results only???

2000-04-28 Thread Sharon DiOrio
www.wddx.org is the best place to start to understand what WDDX is and how it works. Then, start playing with it. cfquery name="myQuery" datasource="#APPLICATION.dsn#" maxRows="10" SELECT * FROM TableName /cfquery cfwddx action="CFML2WDDX" input="#myQuery#" output="myWDDX"

Re: Tag to maintain CSS Files

2000-04-27 Thread Sharon DiOrio
How about setting the fonts, colors etc. as APPLICATION scope variables. Then give the client a page where he/she can edit these variables. We do most of our sites this way now. Sharon At 03:37 PM 4/27/2000 -0400, [EMAIL PROTECTED] wrote: Does anyone have a tag for maintaining style sheets via

OT: Winners of the 5K

2000-04-26 Thread Sharon DiOrio
One of our developers here sent this to me. Very cool stuff -- The folks at sylloge.com had a contest for the best Web design under 5K in size. That's 5K total - images, HTML, javascript, no external files. The effect is a lot like the early Web: pages

Re: Multiple Column Search

2000-04-26 Thread Sharon DiOrio
Verity. Sharon (OK, I'm resisting the temptation to leave you with that one word answer. Basically you can create a collection in verity with any combination of columns and the user can perform a text search to retrieve any record with that text. You'll need to play around with it, but it

Re: Context for cfparam

2000-04-26 Thread Sharon DiOrio
Same context. cfparam name="SESSION.blah" default="whatever" Or cfset SESSION.blah="whatever" But I'm not quite sure that is your question. Unless you define the scope (session, application, etc.) the scope is always "Variables" scope (local to the template). Read up on scoping variables in

Re: What's the use of structures, anyway?

2000-04-20 Thread Sharon DiOrio
The real power of structures isn't in a single level, it's in nesting them and creating complex data hierarchies. For instance, a structure I could use, for example: [Country].[State].[City].[Company] OR UnitedStates.Massachusetts.Boston.Mindseye If you've used javascript (or any other

Re: quering sites??

2000-04-19 Thread Sharon DiOrio
The short answer is yes. The long answer involves a lot of cooperation between the sites and the use of WDDX to transmit the resulting data. Basically here is how it would work (assuming both sites are running CF). Site1 sends an http request to a specifically designed page on Site2 with either

Re: commenting a processing hog???

2000-04-19 Thread Sharon DiOrio
Put commenting in between two cfsetting tags like this: cfsetting enablecfoutputonly="yes" !--- comments comments comments --- cfsetting enablecfoutputonly="no" This will strip out the white space used by the commenting from being sent to the browser (which is why you're seeing a

RE: Query Caching

2000-04-14 Thread Sharon DiOrio
What you're talking about is not really session related queries. Basically people are performing the same queries (as they drill down) and using "cached within/after" works here. But what if you had a search function that let users make a custom search by keyword on the database? Using the

RE: Text Editors vs Site Editors

2000-04-13 Thread Sharon DiOrio
A lot of senior cold fusion programmers know SQL and don't need to use the query builder (which is honestly, pretty limited). I, for one, appreciated it when I was learning CF and SQL, but now I find it quicker and more efficient to write my own code. Sharon At 06:00 PM 4/12/00 -0400, you

Re: Query Caching

2000-04-13 Thread Sharon DiOrio
Yes. You can save the query to SESSION scope. cfif NOT IsDefined("SESSION.QueryName") cflock name="#SESSION.SessionID#" timeout="30" cfquery name="SESSION.QueryName" datasource="#dsn#" SQL STUFF /cfquery /cflock /cfif HTH!

Re: Query Caching

2000-04-13 Thread Sharon DiOrio
No, it's client variables that can be stored in Registry. Session variables are held in RAM for the duration of a session. And I've done applications with extensive use of session scoped queries, structures, etc, and haven't significantly impacted the RAM requirements of the server. Also, a

Re: bread crumbs again

2000-04-12 Thread Sharon DiOrio
You can parse (loop through, using "\" as the delimiter) the CGI.Template_Path into sections, subsections and microsections if your site is setup into directories in a logical way. If you're feeling especially creative, you can also make those active links to the user can navigate up and down

Re: Caching with CFHTTP?

2000-04-12 Thread Sharon DiOrio
It depends on how they've got it setup with the javascript. If it's basically just a page you can hit via http, then using cfhttp would work. cfhttp saves what it retrieves as a variable anyway. No reason you couldn't save it into APPLICATION scope and refresh it at will. Or use it on a page

Re: Determining Efficency.

2000-04-11 Thread Sharon DiOrio
A great way to determine the actual efficiency of a piece of code is to put it in a loop. Looping over the code multiple times makes the actual numbers more meaningful by ruling out time associated with connections and CF administrative overhead. Specific things to look for include using

RE: Cached Query's?

2000-04-06 Thread Sharon DiOrio
You can save queries to SESSION, APPLICATION, SERVER etc. variables. If you aren't clear on scoping variables, there is a whole section on it in the CFDocs. cfif NOT IsDefined("SESSION.myQuery") cflock name="#SESSION.SessionID#" timeout="10" cfquery name="SESSION.myQuery"

Re: How much load can CF server take?

2000-03-30 Thread Sharon DiOrio
I can't give exact numbers, but we did have *one* box (PII, Dual Processor, 500MB ram) running a single high-volume CF site flood a T1 without missing a step. The answer to your question will depend a lot on what kind of application you're building. Something where most of the content can be

Re: being lazy, looking for easy way out

2000-03-30 Thread Sharon DiOrio
I would guess that using cfhttp to retrieve a page, check to see if keyword(s) are there and send an e-mail with the results would work. Sharon At 09:24 AM 3/30/2000 -0700, Nick Call wrote: I was wondering if anyone has written a custom tag that does remote server monitoring. What I am looking

<    1   2